Skip to content

Instantly share code, notes, and snippets.

@shaikh-shahid
Created April 6, 2016 11:18
Show Gist options
  • Save shaikh-shahid/7032dc089bcb567def94cb2e95b05818 to your computer and use it in GitHub Desktop.
Save shaikh-shahid/7032dc089bcb567def94cb2e95b05818 to your computer and use it in GitHub Desktop.
var async = require('async');
async.parallel([
function(callback) {
// Some Async task
callback();
},
function(callback) {
// Some Async task
callback();
}
],function(err,data) {
// Code to execute when everything is done.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment