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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
durability? | readonly | DurabilityMode | Override the durability mode declared at workflow construction time. Useful for one-off async runs in tests. | packages/workflow/src/types.ts:124 |
signal? | readonly | AbortSignal | Cancellation signal. Honored at every step boundary. | packages/workflow/src/types.ts:119 |
stream? | readonly | StreamMode | Stream emission mode. Default: values. | packages/workflow/src/types.ts:117 |
threadId? | readonly | string | - | packages/workflow/src/types.ts:115 |