Last active
October 4, 2018 16:44
-
-
Save nem035/97e069a30f1f80cb18faec6434e90cf2 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
httpGet(url1, function(res) { | |
// here we'll receive value1 | |
}); | |
httpGet(url2, function(res) { | |
// here we'll receive value2 | |
}); | |
function processValues(value) { | |
// we want to call this function first for value1, | |
// then again for value2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment