empty

Complete right away without ever emitting any elements.

Source stages

Signature

def empty[T]: Source[T, NotUsed]

Description

Complete right away without ever emitting any elements. Useful when you have to provide a source to an API but there are no elements to emit.

emits never

completes directly

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.