initialTimeout

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

Time aware stages

Signature

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

Description

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

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.