SchedulerSequenceItem:
    | { 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>; label: string; metadata?: TMetaData }
    • builder: () => Promise<any>

      Builder to start the task

      Since 1.20.0

    • label: string

      Label

      Since 1.20.0

    • Optionalmetadata?: TMetaData

      Metadata to be attached into logs

      Since 1.25.0

  • () => Promise<any>

Since 1.20.0