async-msleep
Async msleep.
Installation
npm install --save async-msleep
Usage
Useful for moving non-essential computation to the next event loop (tracking, ...).
{ await // Same as setTimeout(foo, 0), but using async/await}
Reference
caiogondim.com · GitHub @caiogondim · Twitter @caio_gondim