Skip to content

isClusterWorker

isClusterWorker(env?): boolean

Defined in: packages/sharding/src/context.ts:30

Whether this process was forked by a ClusterManager.

Record<string, string | undefined> = process.env

boolean