I have the following section of async code:
async.forEach(list, function(file, loopCallback) {
    console.log("file");
    loopCallback();
}, {
    console.log("all done!");
});
It prints the name of all my files in my list, great. Now, I want to limit the amount of files I am processing in parallel. What if I only want to handle one file at a time?
I have heard of async.ParallelLimit, and async.Queue, and would like to know how to adapt this code to fit one of them, specifically parallelLimit.
Any ideas?