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
Now all async functions without error in callback are deprecated (node.js). Need to change examples.
I also suggest change methods like filter and reject in 2.0 for consistency with node.js practics.
async.filter(['file1','file2','file3'],function(file,cb){fs.stat(file,function(err,stat){cb(null,!err);});},function(err,results){// results now equals an array of the existing files});
What do you think?
The text was updated successfully, but these errors were encountered:
We're going to change how these functions work in the next major release: #118 . As they exist today, fs.exists is just about the only function that's useful for these methods.
Now all async functions without error in callback are deprecated (node.js). Need to change examples.
I also suggest change methods like
filter
andreject
in2.0
for consistency with node.js practics.What do you think?
The text was updated successfully, but these errors were encountered: