interval
Returns an observable sequence that produces a value after each period.
Arguments
period(Number): Period for producing the values in the resulting sequence (specified as an integer denoting milliseconds).[scheduler](Scheduler=Rx.Scheduler.timeout): Scheduler to run the timer on. If not specified, Rx.Scheduler.timeout is used.
Returns
(Observable): An observable sequence that produces a value after each period.
Example
Last updated
Was this helpful?