SleepΒΆ

Await sleep

const sleep = ms => new Promise(r => setTimeout(r, ms));