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

23 lines
379 B
Markdown
Raw Normal View History

# fromFuture
Send the single value of the `Future` when it completes and there is demand.
## Signature
## Description
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.
@@@div { .callout }
**emits** the future completes
**completes** after the future has completed
@@@
## Example