Skip to content

Instantly share code, notes, and snippets.

@tanepiper
Created November 6, 2017 21:57
Show Gist options
  • Save tanepiper/8845761d43871151c1d00d5144124d85 to your computer and use it in GitHub Desktop.
Save tanepiper/8845761d43871151c1d00d5144124d85 to your computer and use it in GitHub Desktop.
const 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