keepAlive

Injects additional (configured) elements if upstream does not emit for a configured amount of time.

Time aware operators

Signature

Source.keepAliveSource.keepAlive Flow.keepAliveFlow.keepAlive

Description

Injects additional (configured) elements if upstream does not emit for a configured amount of time.

Reactive Streams semantics

emits when upstream emits an element or if the upstream was idle for the configured period

backpressures when downstream backpressures

completes when 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.