Skip to content

๐Ÿ‘œ A callbag listenable source that sends incremental numbers every x milliseconds.

License

Notifications You must be signed in to change notification settings

staltz/callbag-interval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

callbag-interval

A callbag listenable source that sends incremental numbers every x milliseconds.

npm install callbag-interval

example

const interval = require('callbag-interval');
const observe = require('callbag-observe');

const source = interval(1000);

observe(x => console.log(x))(source); // 0
                                      // 1
                                      // 2
                                      // 3
                                      // ...

About

๐Ÿ‘œ A callbag listenable source that sends incremental numbers every x milliseconds.

Resources

License

Stars

Watchers

Forks

Packages

No packages published