interval
will emit sequential numbers with a given interval (first emission being delayed by that interval)
12345678910const { rxObserver } = require('api/v0.3'); const { interval } = require('rxjs'); const { take } = require('rxjs/operators'); interval(5).pipe( take(10) ) .subscribe(rxObserver());
To specify an initial delay, see timer(10, 5)
example