Skip to content

Instantly share code, notes, and snippets.

@timwis
Created February 1, 2015 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timwis/7f9265c11c73f307d831 to your computer and use it in GitHub Desktop.
Save timwis/7f9265c11c73f307d831 to your computer and use it in GitHub Desktop.
data/FY2013-actual.csv
data/FY2013-actual.csv
var async = require('async');
var tasks = [],
filenames = ['data/FY2014-actual.csv', 'data/FY2013-actual.csv'];
for(var i in filenames) {
tasks.push(function(callback) {
console.log(filenames[i]);
callback();
});
}
async.parallel(tasks, function(err, results) {
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment