fromFutureSource

fromFutureSource has been deprecated in 2.6.0, use Source.futureSource instead.

Source operators

Signature

def fromFutureSource[T, M](future: Future[Graph[SourceShape[T], M]]): Source[T, Future[M]]

Description

fromFutureSource has been deprecated in 2.6.0, use futureSource instead.

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.