Describe a task for the report produced by the scheduler

Remarks

Since 1.25.0

Type Parameters

  • TMetaData = unknown

Hierarchy

  • SchedulerReportItem

Properties

label: string

Label of the task

Remarks

Since 1.25.0

metadata?: TMetaData

Metadata linked when scheduling the task

Remarks

Since 1.25.0

outputValue?: string

Stringified version of the output or error computed using fc.stringify

Remarks

Since 1.25.0

schedulingType: "function" | "promise" | "sequence"

How was this task scheduled?

  • promise: schedule
  • function: scheduleFunction
  • sequence: scheduleSequence

Remarks

Since 1.25.0

status: "rejected" | "pending" | "resolved"

Execution status for this task

  • resolved: task released by the scheduler and successful
  • rejected: task released by the scheduler but with errors
  • pending: task still pending in the scheduler, not released yet

Remarks

Since 1.25.0

taskId: number

Incremental id for the task, first received task has taskId = 1

Remarks

Since 1.25.0

Generated using TypeDoc