Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChildProcessor

ChildProcessor

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

Hierarchy

  • ChildProcessor

Index

Constructors

Properties

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

Methods

  • init(processorFile: string): Promise<void>
  • start(jobJson: JobJson): Promise<void>
  • stop(): Promise<void>
  • waitForCurrentJobAndExit(): Promise<void>

Generated using TypeDoc