final-timer

0.1.1 • Public • Published

Final-Timer

Timer class (wrapper for setTimeout and setInterval). Based on AS3 Timer class

Read the source code.

Example

var finalTimer = require('final-timer');
 
var timer = new finalTimer.Timer(1000, 1);
 
timer.on('timerComplete', function (event) {
  console.log('called after 1 sec.');
});

Readme

Keywords

Package Sidebar

Install

npm i final-timer

Weekly Downloads

1

Version

0.1.1

License

ISC

Last publish

Collaborators

  • szymon.wygnanski