method Cluster.fork
Jump to headingCluster.fork(env?: any): Worker
Spawn a new worker process.
This can only be called from the primary process.
Parameters Jump to heading
optional
Jump to headingenv: any
Key/value pairs to add to worker process environment.