Options
All
  • Public
  • Public/Protected
  • All
Menu

Registered task object

Type parameters

Hierarchy

  • Task

Index

Properties

clearFn?: ClearFn<default<default<any>>>

Function to clear the task

group?: string

Group name the task

id: unknown

Task unique identifier

label?: Label

Label of the task

muted: boolean

True if the task is muted

obj: unknown

Raw task object

objName?: string

Name of the raw task object

onClear: (Function | ((this: CTX, e: TaskCtx<CTX>) => void))[]

List of clear handlers

onComplete: BoundFn<CTX>[][]

List of complete handlers:

[0] - onFulfilled [1] - onRejected

paused: boolean

True if the task is paused

queue: Function[]

Queue of pending handlers (if the task is paused)

unregister: Function

Unregisters the task