delay2
v1.0.2
Published
https://twitter.com/rakesh314/status/931504992330047489
Downloads
18
Readme
https://twitter.com/rakesh314/status/931504992330047489
Install:
npm install delay2
Usage:
await delay(1000); // wait a sec
... // continue
With promises: Get with the times. Alternatively,
delay(1000).then(whatever);
Node 4+ needed (needs native promise support).
License: wut?