Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TaskQueueOptions

Hierarchy

  • TaskQueueOptions

Index

Properties

Properties

groups

groups: string[]

Groups to combine specific Tasks in the TaskQueue, Tasks can only be added to the TaskQueue if their group is available

Optional prioSortFn

prioSortFn: undefined | ((a: Task, b: Task) => number)

Optional function to sort the priority, if set, i will override the internal TaskQueue.sort function.

remarks

Caution, the TaskQueue uses the last element in the Arrays first, so the highest priorities should be ordered to the end

Generated using TypeDoc