事件:'disconnect'
🌐 Event: 'disconnect'
如果 Node.js 进程是通过 IPC 通道生成的(请参阅 子进程 和 集群 文档),当 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.