3 ms·
That's not needed. The API is designed so that you can do var fork = require('cluster').fork Cluster methods keep a reference to the main object inside th
by ricardobeat 14y ago
That's not needed. The API is designed so that you can do
var fork = require('cluster').fork
Cluster methods keep a reference to the main object inside the module, see https://github.com/joyent/node/blob/master/lib/cluster.js#L466 https://github.com/joyent/node/blob/master/lib/cluster.js#L4...