Skip to content

Instantly share code, notes, and snippets.

@adamrneary
Created January 28, 2015 15:49
Show Gist options
  • Select an option

  • Save adamrneary/a63a1f84d21aee2cd53b to your computer and use it in GitHub Desktop.

Select an option

Save adamrneary/a63a1f84d21aee2cd53b to your computer and use it in GitHub Desktop.
// And boom goes the dynamite.
Q.all([
getNextFewUsers,
getConsultantCount,
getCompanyCount
])
.then(function() {
callback(null, returnObject)
})
.catch(function(err) {
callback(err, null)
})
.done()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment