then-sleep

1.0.1 • Public • Published

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.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i then-sleep

    Weekly Downloads

    594

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • meo