Skip to content

Instantly share code, notes, and snippets.

@DrkSephy
Created August 12, 2014 01:54
Show Gist options
  • Save DrkSephy/801a44e3af4a70098119 to your computer and use it in GitHub Desktop.
Save DrkSephy/801a44e3af4a70098119 to your computer and use it in GitHub Desktop.
async.each example
async.each(urls, function(url, callback){
console.log("Grabbing Dataset from " + url);
makeRequest(url, function(){
callback();
});
}, function(err){
console.log("Hello");
if(err){
console.log("Error grabbing data");
} else {
console.log("Finished processing all data");
}
}
);
@samshubbu
Copy link

adadwda bonda kusiwalala

sam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment