ThrottleOperator<T> extension Null safety

on

Methods

throttle<R>(DurationSelector<T, R> durationSelector, {bool leading = true, bool trailing = true}) Observable<T>
Emits a value from this Observable, then ignores values for the duration until the Observable returned by durationSelector triggers a value or completes.
throttleTime(Duration duration, {bool leading = true, bool trailing = true, Scheduler? scheduler}) Observable<T>
Emits a value from this Observable, then ignores values for duration.