Mfork
Bun

method

cluster.Cluster.fork

env?: any
): Worker;

Spawn a new worker process.

This can only be called from the primary process.

@param env

Key/value pairs to add to worker process environment.