fromFutureSource

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

Source stages

Signature

def fromFutureSource[T, M](future: Future[Graph[SourceShape[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.

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.