PWorker
Bun

property

cluster.default.Cluster.Worker

Worker: typeof Worker

A Worker object contains all public information and method about a worker. In the primary it can be obtained using cluster.workers. In a worker it can be obtained using cluster.worker.