Event: 'disconnect'
Similar to the cluster.on('disconnect')
event, but specific to this worker.
1 2 3 | cluster.fork().on( 'disconnect' , () => { // Worker has disconnected }); |
Event: 'disconnect'
Similar to the cluster.on('disconnect')
event, but specific to this worker.
1 2 3 | cluster.fork().on( 'disconnect' , () => { // Worker has disconnected }); |
Designed by : w10schools
service@w10schools.com
Please login to continue.