SchedulerSequenceItem<TMetaData>: {
    builder: (() => Promise<any>);
    label: string;
    metadata?: TMetaData;
} | (() => Promise<any>)

Define an item to be passed to scheduleSequence

Type Parameters

  • TMetaData = unknown

Type declaration

  • builder: (() => Promise<any>)

    Builder to start the task

    Remarks

    Since 1.20.0

      • (): Promise<any>
      • Returns Promise<any>

  • label: string

    Label

    Remarks

    Since 1.20.0

  • Optional metadata?: TMetaData

    Metadata to be attached into logs

    Remarks

    Since 1.25.0

Type declaration

    • (): Promise<any>
    • Returns Promise<any>

Remarks

Since 1.20.0