795 B
795 B
Flow.flattenOptional
Collect the value of Optional from all the elements passing through this flow , empty Optional is filtered out.
@refSimple operators
Signature
@apidocFlow.flattenOptional { java="#flattenOptional(akka.stream.javadsl.Flow)" }
Description
Streams the elements through the given future flow once it successfully completes. If the future fails the stream is failed.
Reactive Streams semantics
@@@div { .callout }
Emits when the current @javadocOptional's value is present.
Backpressures when the value of the current @javadocOptional is present and downstream backpressures.
Completes when upstream completes.
Cancels when downstream cancels. @@@