本页还没有译文
本页 15 段还没译成Français,下面显示的是英文原文。StepContext
还没翻译译自英文(tanstack.com)本页 15 段都还没译
Interface: StepContext
Defined in: packages/workflow-core/src/types.ts:224
Passed to a ctx.step() function. The deterministic id is the
idempotency-key candidate for external systems — it stays the same
across retries within a single step's execution AND across replays
of the same run.
Properties
attempt
attempt: number;Defined in: packages/workflow-core/src/types.ts:228
Current attempt number (1-indexed).
id
id: string;Defined in: packages/workflow-core/src/types.ts:226
Deterministic step ID. Stable across retries and replays.
signal
signal: AbortSignal;Defined in: packages/workflow-core/src/types.ts:232
Per-attempt AbortSignal. Fires on:
- step timeout firing
- run-level abort (Ctrl+C / external cancellation)
AI 翻译查看英文原文