pekko/akka-docs/src/main/paradox/stream/operators/Source/fromFuture.md

664 B

fromFuture

fromFuture has been deprecated in 2.6.0, use Source.future instead.

@refSource operators

@@@div { .group-scala }

Signature

@@signature Source.scala { #fromFuture }

@@@

Description

fromFuture has been deprecated in 2.6.0, use @ref:future instead.

Send the single value of the Future when it completes and there is demand. If the future fails the stream is failed with that exception.

Reactive Streams semantics

@@@div { .callout }

emits the future completes

completes after the future has completed

@@@