Rx.Observable.prototype.timeInterval([scheduler])
Records the time interval between consecutive values in an observable sequence.
参数
[scheduler=Rx.Observable.timeout]
(Scheduler
): Scheduler used to compute time intervals. If not specified, the timeout scheduler is used.
返回值
(Observable
): An observable sequence with time interval information on values.