DelayWhenExtension<T> extension

Extends the Stream class with the ability to delay events being emitted.

on

Methods

delayWhen(Stream<void> itemDelaySelector(T value), {Stream<void>? listenDelay}) Stream<T>
Delays the emission of items from the source Stream by a given time span determined by the emissions of another Stream.