Created
October 6, 2015 17:08
-
-
Save zeroeth/57c4ab18959909fb5f67 to your computer and use it in GitHub Desktop.
This file contains hidden or 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(callback_function).then(new Promise(callback_function2)).then(new Promise(callback_function3)) | |
| // Each callback gets passed two arguments which are callbacks. ex | |
| var callback_function = function(resolve, reject) | |
| { | |
| do_a_bunch_of_work; | |
| resolve(); // proceed to my promises then() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment