Created
December 3, 2014 20:58
-
-
Save HERRKIN/3a50650a45ed8e231854 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
in bluebird whats the difference bewteen these two? | |
somepromise(arg) | |
.then(someotherpromise(secondarg)) | |
.then(athirdoption()) | |
.then(undefined,console.log) | |
whats the difference between doing that and doing: | |
apromise(arg) | |
.then(function(result) | |
{ | |
return otherpromise(result) | |
.then(console.log) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment