Miss any of our Open RFC calls?Watch the recordings here! »

cluster-fn

0.0.2 • Public • Published

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()

Install

npm i cluster-fn

DownloadsWeekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • avatar