Skip to content

Instantly share code, notes, and snippets.

@laser
Created November 26, 2013 19:20
Show Gist options
  • Save laser/7664436 to your computer and use it in GitHub Desktop.
Save laser/7664436 to your computer and use it in GitHub Desktop.
H.js
try {
firstAsync(function(err, a) {
if (err) { console.log(err); throw err; }
secondAsync(function(err, b) {
if (err) { console.log(err); throw err; }
thirdAsync(function(err, c) {
if (err) { console.log(err); throw err; }
callback(a, b, c);
});
});
});
}
catch (e) {
console.log(e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment