Stream.tap(fn: (value: T) => Promisable<void>): Stream<T, E>
Runs a side-effect function on each successful value without transforming it. If the provided function throws an error or returns a rejected promise, the error will be collected and emitted as an error result in place of the original value.
Stream<T, E>