completionTimeout

If the completion of the stream does not happen until the provided timeout, the stream is failed with a TimeoutException.

Time aware operators

Signature

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

Description

If the completion of the stream does not happen until 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 upstream completes

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.