Skip to content

Instantly share code, notes, and snippets.

@munierujp
Created October 13, 2023 14:12
Show Gist options
  • Save munierujp/745c8ff4bca6299c7c1c9968300699f8 to your computer and use it in GitHub Desktop.
Save munierujp/745c8ff4bca6299c7c1c9968300699f8 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