1.0.2 • Published 8 years ago
delay2 v1.0.2
https://twitter.com/rakesh314/status/931504992330047489
Install:
npm install delay2Usage:
await delay(1000); // wait a sec
... // continueWith promises: Get with the times. Alternatively,
delay(1000).then(whatever);Node 4+ needed (needs native promise support).
License: wut?