Skip to content

Instantly share code, notes, and snippets.

@lukebrandonfarrell
Created June 13, 2019 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukebrandonfarrell/c84630dc82c09c633bcb84ed74c3a5f2 to your computer and use it in GitHub Desktop.
Save lukebrandonfarrell/c84630dc82c09c633bcb84ed74c3a5f2 to your computer and use it in GitHub Desktop.
Running an async function directly in block πŸ•’
...
(async () => {
await // Do something async
})();
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment