Type alias TaskParams<TP, CommonTaskContext>

TaskParams<TP, CommonTaskContext>: {
    commonContext: CommonTaskContext;
    disabled: boolean;
    end: Date | undefined;
    errorCount: number;
    errors: Set<{
        error: Error;
        ts: Date;
    }>;
    props: TP;
    runCount: number;
    runErrorCount: number;
    start: Date | undefined;
    status: TaskStatusType;
    uuid: string;
}

Task constructor params

Type Parameters

Type declaration

  • commonContext: CommonTaskContext
  • disabled: boolean
  • end: Date | undefined
  • errorCount: number

    Current run error count

  • errors: Set<{
        error: Error;
        ts: Date;
    }>
  • props: TP
  • runCount: number

    Total run count

  • runErrorCount: number

    Total run error count

  • start: Date | undefined
  • status: TaskStatusType
  • Readonly uuid: string

Generated using TypeDoc