deno.com

method Cluster.fork

#Cluster.fork(env?: any): Worker

Spawn a new worker process.

This can only be called from the primary process.

Parameters #

#env: any
optional

Key/value pairs to add to worker process environment.

Return Type #