kc-wait
v1.0.5
Published
[js] Wait miliseconsd and exec.
Downloads
5
Readme
Wait
[js] Wait miliseconsd and exec.
Install
npm install kc-wait
Use
var wait = require('kc-wait');
var t = wait(1000, function(){
console.log('Ready!');
// you can cancel the timeout:
// t.stop();
});