wireTap

Attaches the given Sink to this Flow as a wire tap, meaning that elements that pass through will also be sent to the wire-tap Sink, without the latter affecting the mainline flow.

Fan-out operators

Signature

Source.wireTapSource.wireTap Flow.wireTapFlow.wireTap

Description

Attaches the given Sink to this Flow as a wire tap, meaning that elements that pass through will also be sent to the wire-tap Sink, without the latter affecting the mainline flow. If the wire-tap Sink backpressures, elements that would’ve been sent to it will be dropped instead.

Reactive Streams semantics

emits element is available and demand exists from the downstream; the element will also be sent to the wire-tap Sink if there is demand.

backpressures downstream backpressures

completes upstream completes

cancels 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.