Reliable periodic events.
var periodic = ;var ticks = 0;
Return a new
periodic that emits
tick events every
periodic tries to stay in time even when the event loop is busy.
With npm do
$ npm install periodic
Alternatively, with component do
$ component install juliangruber/periodic
every by chrisdickinson has a nicer name but the overall interface and implementation are too complex for my needs.