0.0.2 • Published 5 years ago
delay.io v0.0.2
This is delay a promise a specified amount of time js library.
Features
- sync / async delay
- random delay
Getting Started
Usage
// basic
delay(100).then(<your logic>)
// random
delayRandom({
from: 0,
to: 1200 // delay between 0..1200 ms
}).then(<your logic>)
Change Log
1.0.0 (2016-04-15) — initial release
Contributing
Before you submit a pull request, please take the following actions.
- Open an issue describing the contribution you would like to make
- Discuss until we all agree that your idea is useful for the project
- Create a pull request but make sure you follow the style guide and the tests pass
- Voila! You've done an amazing job.
License
MIT @ Todi Code