-
-
Save codefriar/cb936d886615fd21e31c657cc15f217a 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
new Promise(new Demo_PromiseStep()) | |
.then(new Demo_PromiseStep_Two()) | |
// Add as many .then(new someClass()) calls as you need | |
.error(new Demo_PromiseError()) | |
.done(new Demo_PromiseDone()) | |
.execute(param); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment