On this page

    M

    cluster.fork

    History
    cluster.fork(env?): cluster.Worker
    Attributes
    env:Object
    Key/value pairs to add to worker process environment.

    Spawn a new worker process.

    This can only be called from the primary process.