本页还没有译文
本页 35 段还没译成简体中文,下面显示的是英文原文。CreateWorkflowConfig
还没翻译译自英文(tanstack.com)本页 35 段都还没译
Interface: CreateWorkflowConfig<TInputSchema, TOutputSchema, TStateSchema>
Defined in: packages/workflow-core/src/define/define-workflow.ts:43
Type Parameters
TInputSchema
TInputSchema extends SchemaInput | undefined
TOutputSchema
TOutputSchema extends SchemaInput | undefined
TStateSchema
TStateSchema extends SchemaInput | undefined
Properties
defaultStepRetry?
optional defaultStepRetry: StepRetryOptions;Defined in: packages/workflow-core/src/define/define-workflow.ts:65
Default retry policy applied to every ctx.step() call that
doesn't carry its own { retry } option.
description?
optional description: string;Defined in: packages/workflow-core/src/define/define-workflow.ts:49
id
id: string;Defined in: packages/workflow-core/src/define/define-workflow.ts:48
initialize()?
optional initialize: (args) => TStateSchema extends SchemaInput ? Partial<InferSchema<TStateSchema<TStateSchema>>> : Record<string, unknown>;Defined in: packages/workflow-core/src/define/define-workflow.ts:56
Parameters
args
input
TInputSchema extends SchemaInput ? InferSchema<TInputSchema<TInputSchema>> : unknown
Returns
TStateSchema extends SchemaInput ? Partial<InferSchema<TStateSchema<TStateSchema>>> : Record<string, unknown>
input?
optional input: TInputSchema;Defined in: packages/workflow-core/src/define/define-workflow.ts:53
output?
optional output: TOutputSchema;Defined in: packages/workflow-core/src/define/define-workflow.ts:54
state?
optional state: TStateSchema;Defined in: packages/workflow-core/src/define/define-workflow.ts:55
version?
optional version: string;Defined in: packages/workflow-core/src/define/define-workflow.ts:52
Caller-supplied version identifier (e.g. 'v1', '2026-05-15').
Used with selectWorkflowVersion for cross-version routing.