method Cluster.emit
Jump to headingCluster.emit(event: string | symbol,...args: any[],): boolean
Parameters Jump to heading
Jump to headingevent: string | symbol
Jump to heading<span>...args</span>: any[]
Return Type Jump to heading
boolean
Jump to headingCluster.emit(event: "disconnect",worker: Worker,): boolean
Parameters Jump to heading
Jump to headingevent: "disconnect"
Jump to headingworker: Worker
Return Type Jump to heading
boolean
Jump to headingCluster.emit(): boolean
Parameters Jump to heading
Jump to headingevent: "exit"
Jump to headingworker: Worker
Jump to headingcode: number
Jump to headingsignal: string
Return Type Jump to heading
boolean
Jump to headingCluster.emit(event: "fork",worker: Worker,): boolean
Parameters Jump to heading
Jump to headingevent: "fork"
Jump to headingworker: Worker
Return Type Jump to heading
boolean
Jump to headingCluster.emit(): boolean
Parameters Jump to heading
Return Type Jump to heading
boolean
Jump to headingCluster.emit(): boolean
Parameters Jump to heading
Jump to headingevent: "message"
Jump to headingworker: Worker
Jump to headingmessage: any
Jump to headinghandle: net.Socket | net.Server
Return Type Jump to heading
boolean
Jump to headingCluster.emit(event: "online",worker: Worker,): boolean
Parameters Jump to heading
Jump to headingevent: "online"
Jump to headingworker: Worker
Return Type Jump to heading
boolean
Jump to headingCluster.emit(event: "setup",settings: ClusterSettings,): boolean
Parameters Jump to heading
Jump to headingevent: "setup"
Jump to headingsettings: ClusterSettings
Return Type Jump to heading
boolean