Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TaskDep<O>

Type parameters

  • O = any

Hierarchy

Indexable

[k: string]: any

Index

Properties

Optional async

async: boolean | number

Dependences are executed serially by default. If order doesn't matter and you want better performance via parallel, you can mark it as asynchronized. Asynchronized will run immediately whether there are synchronized tasks before them or not. You can pass a number as the priority of asynchronized tasks, bigger is formmer.

Optional force

force: undefined | false | true

Whether rerun it when it occured in dependences tree more then once.

name

name: string

Optional options

options: O

Parsed options

Optional resolveOptions

resolveOptions: undefined | ((ctx: TaskContext) => Promise<O> | O)

Generated using TypeDoc