process
All workers are created using child_process.fork()
, the returned object from this function is stored as .process
. In a worker, the global process
is stored.
See: Child Process module.
Workers will call process.exit(0)
if the 'disconnect'
event occurs on process
and .exitedAfterDisconnect
is not true
. This protects against accidental disconnection.
Since
v0.7.0