basically I want to plug caolan/async into this (or just mimic functionality as needed) to make data processing magically SMP-enabled:
async_bobbin.each(collection, function(item, callback) {
// this iterator runs on the workers!
callback(doSomething(item));
});
i think all or almost all of caolan/async could be adapted onto bobbin. (imagine async.auto applied to workers!) some kind of bridge/adapter/facade shouldn't be hard to make.
basically I want to plug caolan/async into this (or just mimic functionality as needed) to make data processing magically SMP-enabled:
i think all or almost all of caolan/async could be adapted onto bobbin. (imagine
async.auto
applied to workers!) some kind of bridge/adapter/facade shouldn't be hard to make.