Documents / @faasjs/workflow / RunWorkflowOptions
Type Alias: RunWorkflowOptions
RunWorkflowOptions =
Omit<RunWorkflowStepOptions,"workflowId"> &object
Options for runWorkflow.
Type Declaration
maxSteps?
optionalmaxSteps?:number
Maximum number of steps to run before throwing.
pollIntervalMs?
optionalpollIntervalMs?:number
Delay when no step is claimable but the workflow is still running. Defaults to 100.
signal?
optionalsignal?:AbortSignal
Abort signal used to interrupt the loop.
timeoutMs?
optionaltimeoutMs?:number
Maximum wall-clock duration in milliseconds before throwing.