sleep async await
https://gist.github.com/danharper/74a5102363fbd85f6b67
async () => {
console.log('a');
await sleep(1000);
console.log('b');
}
https://gist.github.com/danharper/74a5102363fbd85f6b67
async () => {
console.log('a');
await sleep(1000);
console.log('b');
}