initialTimeout

If the first element has not passed through this operators before the provided timeout, the stream is failed with a TimeoutException.

Time aware operators

Signature

def initialTimeout(timeout: FiniteDuration): Repr[Out]

Description

If the first element has not passed through this operators before the provided timeout, the stream is failed with a TimeoutException.

Reactive Streams semantics

emits when upstream emits an element

backpressures when downstream backpressures

completes when upstream completes or fails if timeout elapses before first element arrives

cancels when downstream cancels

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.