1.0.1 • Published 9 years ago
then-sleep v1.0.1
then-sleep
Promise-based sleeping.
Installation
npm i then-sleep -S
Usage
var sleep = require('then-sleep');
// Sleep for 1 second and do something then.
sleep(1000).then(...);
License
MIT licensed.
Promise-based sleeping.
npm i then-sleep -S
var sleep = require('then-sleep');
// Sleep for 1 second and do something then.
sleep(1000).then(...);
MIT licensed.