Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/workflow / / WorkflowChannelUpdateEvent
Interface: WorkflowChannelUpdateEvent<TState>
Defined in: packages/core/dist/types/workflow-event.d.ts
Stable
Type Parameters
| Type Parameter | Default type |
|---|---|
TState | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
channel | readonly | keyof TState & string | - | packages/core/dist/types/workflow-event.d.ts |
stepNumber | readonly | number | - | packages/core/dist/types/workflow-event.d.ts |
type | readonly | "workflow.channel.update" | - | packages/core/dist/types/workflow-event.d.ts |
value? | readonly | unknown | The merged value, carried ONLY for ephemeral channels (workflow-07): their values are wiped from state before the next planning round, so this event is the one place a consumer can observe them. Persistent channels omit it - read the state instead. | packages/core/dist/types/workflow-event.d.ts |
version | readonly | number | - | packages/core/dist/types/workflow-event.d.ts |