head
Materializes into a Future
CompletionStage
which completes with the first value arriving, after this the stream is canceled.
Description
Materializes into a Future
CompletionStage
which completes with the first value arriving, after this the stream is canceled. If no element is emitted, the Future
CompletionStage
is failed.
cancels after receiving one element
backpressures never