Class Child

Child class

This class is used to create a child process or worker thread, and allows using isolated processes or threads for processing jobs.

Hierarchy

  • EventEmitter
    • Child

Constructors

Properties

childProcess: ChildProcess
processFile: string
worker: Worker

Accessors

Methods

  • Parameters

    • signal: "SIGKILL" | "SIGTERM" = 'SIGKILL'
    • Optional timeoutMs: number

    Returns Promise<void>

Generated using TypeDoc