Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 513 Bytes

Will immediately emit a sequence of numbers within a specified range

const { rxObserver } = require('api/v0.3');
const { range } = require('rxjs');

range(0, 3)
  .subscribe(rxObserver());

To make a pause between emissions see timer and interval functions

You can’t perform that action at this time.