Skip to content

Instantly share code, notes, and snippets.

@munierujp
Created July 12, 2024 10:30
Show Gist options
  • Save munierujp/907faca65eb22b5e202cc051842b0afb to your computer and use it in GitHub Desktop.
Save munierujp/907faca65eb22b5e202cc051842b0afb to your computer and use it in GitHub Desktop.
const sleep = async (ms) => {
return await new Promise(resolve => setTimeout(resolve, ms))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment