tallbag-interval
v1.0.0
Published
A tallbag listenable source that sends incremental numbers every x milliseconds
Downloads
6
Readme
tallbag-interval
A tallbag listenable source that sends incremental numbers every x milliseconds.
npm install tallbag-interval
example
const interval = require('tallbag-interval');
const observe = require('callbag-observe');
const source = interval(1000);
observe(x => console.log(x))(source); // 0
// 1
// 2
// 3
// ...