npm.io
0.1.0 • Published 11 years ago

promise-temporal-delay

Licence
MIT
Version
0.1.0
Deps
2
Vulns
0
Weekly
0

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.

Keywords