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