Returns an Observable that emits an infinite sequence of ascending integers starting at 0, with a constant interval of time of your choosing between emissions.
public static interval ( $interval, rx\SchedulerInterface | null $scheduler = null ) : Rx\Observable\IntervalObservable | ||
$interval | int Period for producing the values in the resulting sequence (specified as an integer denoting milliseconds). | |
$scheduler | rx\SchedulerInterface | null | |
return | Rx\Observable\IntervalObservable | An observable sequence that produces a value after each period. |