author avatar

iffyuva

Mon Oct 23 2023

One liner for adding a delay in Typescript: await new Promise((r) => setTimeout(r, 2000));