Created
May 14, 2016 11:24
-
-
Save laat/0abe3711a4625da244bf545fc82a607e to your computer and use it in GitHub Desktop.
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
const combineResults = async () => { | |
const [a, b, c] = await Promise.all([requestSlowly('a'), requestSlowly('b'), requestSlowly('c')]); | |
return a + b + c; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment