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

    Since 1.20.0

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

  • label: string

    Label

    Since 1.20.0

  • Optionalmetadata?: TMetaData

    Metadata to be attached into logs

    Since 1.25.0

Since 1.20.0