(millisecond)
create delay using async/await
await createAsyncDelay(2000) // wait 2 seconds Copy
await createAsyncDelay(2000) // wait 2 seconds
(millisecond)