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