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
async1(function() { | |
// do some stuff | |
async2(function(inputsFromAsync1) { | |
// do stuff that depends on inputsFromAsync1 | |
async3(function(inputsFromAsync2) { | |
// do stuff that depends on inputsFromAsync2 | |
async4(function(inputsFromAsync3) { | |
// more stuff that depends on inputsFromAsync3 | |
// finally execute func5() that should "in time" | |
// get executed after all previous logic | |
func5(); | |
}); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment