then-sleep
Promise-based sleeping.
Last updated 5 years ago by meo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install then-sleep 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.1                                ...           latest (5 years ago)

2 Versions

  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |