I have an array of homogeneous objects. I want to be able to run a a method of each of the objects in parallel. If I were to do this synchronously, it would look like:
var objs = [{run:function(){}},{run:function(){}},{run:function(){}}];
for (obj in objs) {
obj.run();
}
I have thought about using async library, but don't see anything in there at jumps out at me that would work.