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.
Parameters
Default value priority: number | boolean = true
Returns this
force
force(): this
Returns this
options
options(opts: O | ((ctx: TaskContext) => O)): this
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.