Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var async = require('async');
async.eachSeries(array, function(item, callback){
callAsyncFunction(item);
async.eachSeries(arrayTwo, function(sItem, sCallback){
count++;
callAnotherAsyncFunction(item + sItem)
sCallback();
}
}, function(sErr){
if(sErr){console.log(sErr);}
});
callback();
}, function(err){
if(err){console.log(err);}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment