Lines Matching refs:disconnect
161 ### Event: `'disconnect'`
167 Similar to the `cluster.on('disconnect')` event, but specific to this worker.
170 cluster.fork().on('disconnect', () => {
376 ### `worker.disconnect()`
389 on those servers, and then disconnect the IPC channel.
392 `.disconnect()` on itself.
403 automatically closed by workers, and disconnect does not wait for them to close
406 In a worker, `process.disconnect` exists, but it is not this function;
407 it is [`disconnect()`][].
412 the `'disconnect'` event has not been emitted after some time.
421 worker.disconnect();
427 worker.on('disconnect', () => {
455 This property is `true` if the worker exited due to `.disconnect()`.
496 has been created. It is disconnected after the `'disconnect'` event is emitted.
585 disconnect, it has the same behavior as `worker.process.kill()`.
606 Workers will call `process.exit(0)` if the `'disconnect'` event occurs
653 ## Event: `'disconnect'`
663 `worker.disconnect()`).
665 There may be a delay between the `'disconnect'` and `'exit'` events. These
670 cluster.on('disconnect', (worker) => {
814 ## `cluster.disconnect([callback])`
823 Calls `.disconnect()` on each worker in `cluster.workers`.
1072 list happens before the last `'disconnect'` or `'exit'` event is emitted.
1101 [`disconnect()`]: child_process.md#subprocessdisconnect