October 2018
Intermediate to advanced
420 pages
10h 26m
English
The time_interval operator measures the time that has elapsed between two emissions of items. The following figure shows the marble diagram for this operator:

The prototype of this operator is the following:
Observable.time_interval(self, scheduler=None)
Here, scheduler is the scheduler to use to measure the interval. If no scheduler is provided, then the timeout scheduler is used. The time_interval operator emits items of type TimeInterval. They contain two properties: