Hacker News new | past | comments | ask | show | jobs | submit login

In JS/TS I’d do:

await sleep(5 * MINUTES)

Where MINUTE and MINUTES is a constant for 60 * SECOND.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: