Time interval¶
See also
- Official ReactiveX documentation: TimeInterval
-
Observable.
time_interval
(scheduler)¶ Records the time interval between consecutive values in an observable sequence.
1 - res = source.time_interval(); 2 - res = source.time_interval(Scheduler.timeout)
Keyword arguments: scheduler – [Optional] Scheduler used to compute time intervals. If
not specified, the timeout scheduler is used.Return An observable sequence with time interval information on values.