Skip to content

Instantly share code, notes, and snippets.

@Christilut
Last active April 24, 2019 11:30
Show Gist options
  • Save Christilut/621bc14550f075a62c352d5741d03feb to your computer and use it in GitHub Desktop.
Save Christilut/621bc14550f075a62c352d5741d03feb to your computer and use it in GitHub Desktop.
async function timeout(ms: number) {
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