Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/workflow / / PendingPauseRecord
Interface: PendingPauseRecord
Defined in: packages/workflow/src/types.ts:386
Structured record stored alongside a suspended checkpoint so the engine can resume the paused node with the operator's directive.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
dispatchArgs? | readonly | unknown | Args supplied to Dispatch when the paused task was scheduled. | packages/workflow/src/types.ts:390 |
name? | readonly | string | Awakeable / approval name (D1) - present when the suspension came from awaitExternal(name) or requestApproval(name). Targeted by workflow.resolveAwakeable(...) / workflow.approve(...). | packages/workflow/src/types.ts:423 |
nodeName | readonly | string | - | packages/workflow/src/types.ts:387 |
satisfied? | readonly | readonly unknown[] | Ordered resume values ALREADY delivered to this node's earlier pause() calls (WF-2). On resume the body re-executes from the top: these replay by index, and the new directive value lands at the next cursor. | packages/workflow/src/types.ts:401 |
satisfiedMeta? | readonly | readonly ( | { kind?: string; name?: string; } | null)[] | W-120: per-value identity of the pause each satisfied entry answered (kind for durable primitives, name for awakeables/approvals; null/empty for plain pause()). Replay verifies each entry against the CURRENT pause at that cursor and fails with pause-replay-divergence on mismatch. Absent on checkpoints written before the field existed - those replay unchecked (back-compat). | packages/workflow/src/types.ts:411 |
staticAfter? | readonly | boolean | When true the engine paused after the task completed, via pauseAt.after. | packages/workflow/src/types.ts:394 |
staticBefore? | readonly | boolean | When true the task was paused statically by pauseAt.before. | packages/workflow/src/types.ts:392 |
value | readonly | unknown | - | packages/workflow/src/types.ts:388 |
wakeAt? | readonly | number | Epoch ms at which a durable timer becomes due (D1) - present when the suspension came from sleepUntil(...) / sleepFor(...). workflow.tick(threadId) resumes the thread once due. | packages/workflow/src/types.ts:417 |