Skip to content

Instantly share code, notes, and snippets.

@CreatiCoding
Created April 9, 2020 03:25
Show Gist options
  • Select an option

  • Save CreatiCoding/09dc676e0ae52b17e47c563d46eebce8 to your computer and use it in GitHub Desktop.

Select an option

Save CreatiCoding/09dc676e0ae52b17e47c563d46eebce8 to your computer and use it in GitHub Desktop.
javascript delay in async area
await (() => new Promise((resolve) => setTimeout(() => resolve(true), 100)))();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment