futureSource

Streams the elements of the given future source once it successfully completes.

Source operators

Signature

def futureSource[T, M](futureSource: Future[Source[T, M]]): Source[T, Future[M]]

Description

Streams the elements of the given future source once it successfully completes. If the future fails the stream is failed.

Reactive Streams semantics

emits the next value from the future source, once it has completed

completes after the future source completes

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.