PisWorker
Bun

property

cluster.Cluster.isWorker

readonly isWorker: boolean

True if the process is not a primary (it is the negation of cluster.isPrimary).