Skip to content

Instantly share code, notes, and snippets.

@mikehwagz
Created March 21, 2020 22:58
Show Gist options
  • Save mikehwagz/61865718a24b96d9adb4ba8164ad484e to your computer and use it in GitHub Desktop.
Save mikehwagz/61865718a24b96d9adb4ba8164ad484e to your computer and use it in GitHub Desktop.
export function sleep(ms) {
return new Promise((resolve) => setTimeout(resolve, ms))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment