ChildProcessor

This class acts as the interface between a child process and it parent process so that jobs can be processed in different processes.

Hierarchy

  • ChildProcessor

Constructors

  • Parameters

    • send: ((msg) => Promise<void>)
        • (msg): Promise<void>
        • Parameters

          • msg: any

          Returns Promise<void>

    Returns ChildProcessor

Properties

currentJobPromise: Promise<unknown>
processor: any
status?: ChildStatus

Methods

  • Parameters

    • processorFile: string

    Returns Promise<void>

  • Parameters

    • jobJson: JobJson
    • Optional token: string

    Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

Generated using TypeDoc