Created
September 22, 2017 17:36
-
-
Save dobrakmato/32f6f9c415c25f914dc42aed83b4e977 to your computer and use it in GitHub Desktop.
This file contains 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 processData() { | |
const promise1 = downloadFromService1(); | |
const promise2 = downloadFromService2(); | |
const promise3 = downloadFromService3(); | |
const allResults = Promise.all([promise1, promise2, promise3]); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment