Source.single

Stream a single object

Source operators

Signature

def single[T](element: T): Source[T, NotUsed]

Description

Stream a single object

emits the value once

completes when the single value has been emitted

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.