Created
December 24, 2016 18:43
-
-
Save PanJ/3030f2ff8527cbb8a055c9531a880cff to your computer and use it in GitHub Desktop.
Async/await 6
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 function do() { | |
| const a = await doA(); | |
| const [b, c] = await Promise.all([doB(a), doC(a)]); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment