Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "delay2", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
https://twitter.com/rakesh314/status/931504992330047489 | ||
Install: | ||
``` | ||
npm install delay2 | ||
``` | ||
Usage: | ||
```javascript | ||
await delay(1000); // wait a sec | ||
... // continue | ||
``` | ||
With promises: | ||
``` | ||
delay(1000).then(whatever); | ||
``` | ||
Node 8+ only. | ||
Node 7.x+ only - async/await support needed. | ||
License: wut? |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
559
21