promise-temporal-delay
v0.1.0
Published
A promise based delay that does NOT use setTimeout or setInterval
Downloads
8
Maintainers
Readme
promise-temporal-delay
A promise based delay that does NOT use setTimeout or setInterval
Getting Started
Install in your project folder with:
npm install temporal --save
Example
var delay = require('promise-temporal-delay');
console.log('Do something now...')
delay(500).then(function() {
console.log("500ms later...");
});
License
See LICENSE file.