Skip to content

trungfinity/then-sleep-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Sleep, asynchronously.

Resources

License

Stars

Watchers

Forks

Packages

No packages published