Hierarchy

  • JobRunner

Constructors

Properties

_events: EventEmitter = ...
_finished: Future<void> = ...
_isRunning: boolean = false
options: Required<JobRunnerOptions>

Methods

  • Parameters

    • event: "beforeSleep" | "firstRun"
    • handler: ((...args: any[]) => void | Promise<void>)
        • (...args: any[]): void | Promise<void>
        • Parameters

          • Rest ...args: any[]

          Returns void | Promise<void>

    Returns JobRunner

Generated using TypeDoc