Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

Index

Properties

group?: string

Group name of a task

join?: Join

Strategy to join competitive tasks (with the same labels):

  1. true - all tasks are joined to the first;
  2. 'replace' - all tasks are joined (replaced) to the last (only for promises).
label?: Label

Label of a task (the previous task with the same label will be canceled)

onClear?: CanArray<Function | ((this: CTX, e: TaskCtx<CTX>) => void)>

Handler/s of task clearing

onMerge?: CanArray<Function | ((this: CTX, e: TaskCtx<CTX>) => void)>

Handler/s of task merging: a task should merge to another task with the same label and with "join: true" strategy

onMutedCall?: CanArray<Function | ((this: CTX, e: TaskCtx<CTX>) => void)>

Handler/s of muted task calling. These handlers are invoked when occurring calling the task if it is muted.

promise?: boolean

If true, then a task namespace is marked as promisified

default

false