then-sleep

Promise-based sleeping.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
then-sleep
4951.0.18 years ago8 years agoMinified + gzip package size for then-sleep in KB

Readme

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.