You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be a problem when run within node-webkit - for some reason it seems to ignore all of my steps and jump straight to the results which then throws 'undefined'.
async.waterfall([function(callback){callback(null,'one','two');},function(arg1,arg2,callback){callback(null,'three');},function(arg1,callback){// arg1 now equals 'three'callback(null,'done');}],function(err,result){console.log(result)// result now equals 'done'});
However this works OK:
async.series([function(callback){// do some stuff ...callback(null,'one');},function(callback){// do some more stuff ...callback(null,'two');}],// optional callbackfunction(err,results){// results is now equal to ['one', 'two']});
The text was updated successfully, but these errors were encountered:
This seems to be a problem when run within node-webkit - for some reason it seems to ignore all of my steps and jump straight to the results which then throws 'undefined'.
However this works OK:
The text was updated successfully, but these errors were encountered: