Created
March 15, 2017 15:33
-
-
Save mightyguava/bb2c363ae949f6f9a6f85826f4d1ac68 to your computer and use it in GitHub Desktop.
Demystifying Async Programming in Javascript - Promisify callback hell
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
getUserData() | |
.then(getUserData) | |
.then(doMoreStuff) | |
.then(getEvenMoreUserData) | |
.then(doEvenMoreStuff) | |
.then(getYetMoreUserData) | |
.then(doYetMoreStuff); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment