Throttle<T> extension
Throttle related stream extensions
- on
-
- Stream<
T>
- Stream<
Methods
-
throttleByCountAndTime(
{int? throttleCount, Duration? duration, bool throttleIf(T value)?}) → Stream< T> -
Emits the first event from the source, and then
emits one event every time the
throttleCount
is reached or theduration
since the last event has been reached