wait-sleep
Simple sleep/wait function.
Install
Get in the mood with Fire Blood and Steel from Brothers of Metal
npm i -S wait-sleep
Usage
Javascript:
const timer = ;await timer; // sleeps for 1 secondawait timer; // waits for 1 second
Typescript:
;await sleep1000; // sleeps for 1 secondawait wait1000; // waits for 1 second