Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/workflow / / WorkflowExecuteOptions

Interface: WorkflowExecuteOptions

Defined in: packages/workflow/src/types.ts:114

Optional context passed to Workflow.execute. threadId is the stable resume key — supply it explicitly when the caller wants deterministic IDs (CLI / tests); omit to let the runtime generate a fresh ULID-style identifier.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
durability?readonlyDurabilityModeOverride the durability mode declared at workflow construction time. Useful for one-off async runs in tests.packages/workflow/src/types.ts:124
signal?readonlyAbortSignalCancellation signal. Honored at every step boundary.packages/workflow/src/types.ts:119
stream?readonlyStreamModeStream emission mode. Default: values.packages/workflow/src/types.ts:117
threadId?readonlystring-packages/workflow/src/types.ts:115