Rx.Observable.prototype.sample(interval | sampleObservable)
, Rx.Observable.prototype.throttleLatest(interval | sampleObservable)
Samples the observable sequence at each interval.
[interval]
(Number
): Interval at which to sample (specified as an integer denoting milliseconds)[sampleObservable]
(Observable
): Sampler Observable.[scheduler=Rx.Scheduler.timeout]
(Scheduler
): Scheduler to run the sampling timer on. If not specified, the timeout scheduler is used.(Observable
): Sampled observable sequence.