类似于 cluster.on('disconnect') 事件,但特定于此工作进程。

    1. cluster.fork().on('disconnect', () => {
    2. // 工作进程已断开连接。
    3. });