periodic
Reliable periodic events.
Usage
var periodic = ; var ticks = 0;
API
periodic(interval)
Return a new periodic
that emits tick
events every interval
milliseconds.
periodic
tries to stay in time even when the event loop is busy.
periodic#end()
Stop emitting.
Installation
With npm do
$ npm install periodic
Alternatively, with component do
$ component install juliangruber/periodic
Alternatives
every by chrisdickinson has a nicer name but the overall interface and implementation are too complex for my needs.
License
(MIT)