method Cluster.on
Usage in Deno
import { type Cluster } from "node:cluster";
Cluster.on(event: "disconnect",listener: (worker: Worker) => void,): this
listener: (worker: Worker) => void
this
Cluster.on(event: "fork",listener: (worker: Worker) => void,): this
listener: (worker: Worker) => void
this
Cluster.on(event: "online",listener: (worker: Worker) => void,): this
listener: (worker: Worker) => void
this
Cluster.on(event: "setup",listener: (settings: ClusterSettings) => void,): this
listener: (settings: ClusterSettings) => void
this