Skip to content

Loading…

async.series from latest build doesnt seen to work #132

Closed
aboosoyeed opened this Issue · 3 comments

4 participants

@aboosoyeed

i tried this

var async=require("async");
async.series([
function(){ console.log("a"); },
function(){ console.log("b");}
]);

its printing only a and exiting

@aboosoyeed

tested on other machines. the issue persisted. tried async.parallel and it worked

@tivac

You need to call the callback once each function is complete to continue executing. Re-read the documentation on async.series.

https://github.com/caolan/async/#series

@brianmaissy

Non-issue; should be closed

@caolan caolan closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.