Properties
Optional async
async: boolean | number
Optional desc
desc: undefined | string
Optional fn
fn
: undefined | ((ctx
: TaskContext<O>) => void | Promise<void>)
Optional force
force: undefined | false | true
Optional loading
loading: undefined | false | true
Optional logCommand
logCommand: undefined | false | true
namespaces
namespaces: string[]
rawArgs
rawArgs: string[]
Optional resolveOptions
resolve
Options: undefined | ((ctx: TaskContext) => Promise<O> | O)
Optional strict
strict: undefined | false | true
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.