Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/workflow / / PendingPauseRecord

Interface: PendingPauseRecord

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

Stable

Structured record stored alongside a suspended checkpoint so the engine can resume the paused node with the operator's directive.

Properties

PropertyModifierTypeDescriptionDefined in
dispatchArgs?readonlyunknownArgs supplied to Dispatch when the paused task was scheduled.packages/workflow/src/types.ts:389
name?readonlystringAwakeable / approval name - present when the suspension came from awaitExternal(name) or requestApproval(name). Targeted by workflow.resolveAwakeable(...) / workflow.approve(...).packages/workflow/src/types.ts:422
nodeNamereadonlystring-packages/workflow/src/types.ts:386
satisfied?readonlyreadonly unknown[]Ordered resume values ALREADY delivered to this node's earlier pause() calls. 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:400
satisfiedMeta?readonlyreadonly ( | { kind?: string; name?: string; } | null)[]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:410
staticAfter?readonlybooleanWhen true the engine paused after the task completed, via pauseAt.after.packages/workflow/src/types.ts:393
staticBefore?readonlybooleanWhen true the task was paused statically by pauseAt.before.packages/workflow/src/types.ts:391
valuereadonlyunknown-packages/workflow/src/types.ts:387
wakeAt?readonlynumberEpoch ms at which a durable timer becomes due - present when the suspension came from sleepUntil(...) / sleepFor(...). workflow.tick(threadId) resumes the thread once due.packages/workflow/src/types.ts:416