0.0.2 • Published 8 years ago
cluster-fn v0.0.2
cluster-fn
Run functions w/ nodejs cluster.
Usage
var clusterFn = require('cluster-fn');
var fn = function (){
// worker operations
};
var cluster = clusterFn({numWorkers: 5, fn: fn});
cluster.start()