w8.js
v1.0.2
Published
an alternative method to SetTimeout() using promises
Downloads
5
Maintainers
Readme
Installation :
$ npm install w8.js
Using :
wait(6000).then().then()...
Example :
var wait = require('w8.js');
wait(4000).then(function(){
console.log("Hello world");
});
// -> will print "Hello World" After 4 Seconds.
Contact :
Azri Hamza [email protected]