throttle<R> method

Observable<T> throttle<R>(
  1. DurationSelector<T, R> durationSelector, {
  2. bool leading = true,
  3. bool trailing = true,
})

Emits a value from this Observable, then ignores values for the duration until the Observable returned by durationSelector triggers a value or completes.

Implementation

Observable<T> throttle<R>(DurationSelector<T, R> durationSelector,
        {bool leading = true, bool trailing = true}) =>
    ThrottleObservable<T, R>(this, durationSelector, leading, trailing);