Rx.Observable.prototype.throttle(dueTime, [scheduler])
Ignores values from an observable sequence which are followed by another value before dueTime.
参数
dueTime
(Number
): Duration of the throttle period for each value (specified as an integer denoting milliseconds).[scheduler=Rx.Scheduler.timeout]
(Any
): Scheduler to run the throttle timers on. If not specified, the timeout scheduler is used.
返回值
(Observable
): The throttled sequence.