callbag-tap
Callbag operator that taps the source with the given function, but otherwise acts as a noop.
Therefore it is not the same as forEach which is a sink (that actively consumes sources).
npm install callbag-tap
You can tap data, error and completion respectively:
const tapped = source;
example
const fromIter = ;const tap = ;const forEach = ; const source = ;const tapped = source;const sink = tapped; // tap 1// sink 1// tap 2// sink 2// tap 3// sink 3