Rx.Observable.prototype.timestamp([scheduler])

timestamp

Records the timestamp for each value in an observable sequence.

参数

  1. [scheduler=Rx.Observable.timeout] (Scheduler): Scheduler used to compute timestamps. If not specified, the timeout scheduler is used.

返回值

(Observable): An observable sequence with timestamp information on values.