Created
June 13, 2019 06:34
-
-
Save lukebrandonfarrell/c84630dc82c09c633bcb84ed74c3a5f2 to your computer and use it in GitHub Desktop.
Running an async function directly in block π
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
(async () => { | |
await // Do something async | |
})(); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment