Created
April 6, 2016 11:24
-
-
Save shaikh-shahid/3dedd84e4ae87628d8e44323a870371d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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