Await this to pause execution until the duration has passed.
The duration in ms until the sleep in over
console.log(Date.now()) // 1725739228744await sleep(1000);console.log(Date.now()) // 1725739229744 Copy
console.log(Date.now()) // 1725739228744await sleep(1000);console.log(Date.now()) // 1725739229744
Await this to pause execution until the duration has passed.