Skip to content

Instantly share code, notes, and snippets.

@leonguyen
Created June 27, 2014 07:14
Show Gist options
  • Select an option

  • Save leonguyen/6c22022b198073040f35 to your computer and use it in GitHub Desktop.

Select an option

Save leonguyen/6c22022b198073040f35 to your computer and use it in GitHub Desktop.
async.parallel
async.parallel([
//Step 1
function(cb){
//Code here
cb(null);
},//Step 2
function(cb){
//Code here
cb(null);
},
], function(err,result){
console.error('[] parallel: ' + err);
});//async.parallel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment