Skip to content

Instantly share code, notes, and snippets.

@shaikh-shahid
Created April 6, 2016 11:24
Show Gist options
  • Save shaikh-shahid/3dedd84e4ae87628d8e44323a870371d to your computer and use it in GitHub Desktop.
Save shaikh-shahid/3dedd84e4ae87628d8e44323a870371d to your computer and use it in GitHub Desktop.
var async = require('async');
async.series([
function(callback) {
// some async task
callback();
},
function(callback) {
// some async task
callback();
}
],function(err) {
// 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