Skip to content

Instantly share code, notes, and snippets.

@HERRKIN
Created December 3, 2014 20:58
Show Gist options
  • Save HERRKIN/3a50650a45ed8e231854 to your computer and use it in GitHub Desktop.
Save HERRKIN/3a50650a45ed8e231854 to your computer and use it in GitHub Desktop.
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