-
-
Save timwis/7f9265c11c73f307d831 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data/FY2013-actual.csv | |
data/FY2013-actual.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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