Interface TaskOptions

Specifies customization of a task state.

Type parameters

Type parameter Description
TProgress

initialProgress

initialProgress: TProgress

Specifies the value of the initial progress of the task when it starts. If using TypeScript, specfiying this value has the side effect of TypeScript inferring the progress value type from this value.

name

name: undefined | string

Debug-friendly name that can be back-queried from the state instance.

Generated using TypeDoc