'disconnect' 事件


如果使用 IPC 通道衍生 Node.js 进程(参阅子进程集群文档),则在 IPC 通道关闭时将触发 'disconnect' 事件。

If the Node.js process is spawned with an IPC channel (see the Child Process and Cluster documentation), the 'disconnect' event will be emitted when the IPC channel is closed.