Skip to main content

TaskOptions

@webda/workflow


Interface: TaskOptions

Defined in: packages/workflow/src/graph.ts:51

Options of a task, and defaults of a flow

Properties​

backoff?​

optional backoff?: "fixed" | "exponential"

Defined in: packages/workflow/src/graph.ts:61

Delay growth between attempts

Default​

"exponential"

delay?​

optional delay?: string

Defined in: packages/workflow/src/graph.ts:66

Delay before the first retry (Duration syntax)

Default​

"1s"

retries?​

optional retries?: number

Defined in: packages/workflow/src/graph.ts:56

Retries after the first attempt

Default​

0

timeout?​

optional timeout?: string

Defined in: packages/workflow/src/graph.ts:70

Maximum duration of one attempt (Duration syntax)


useSystem?​

optional useSystem?: boolean

Defined in: packages/workflow/src/graph.ts:74

Run the task as the system instead of the launcher