Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/core / / PauseResumeScope

Interface: PauseResumeScope

Defined in: packages/core/src/channels/pause.ts:46

Internal

Resume-injection scope set by the workflow runtime around the second (and later) invocations of a paused node body. When the scope is present, pause(...) consults it to decide whether to throw a fresh PauseSignal or return the injected value the runtime supplied via Workflow.resume(threadId, new Directive({ resume })).

This is the storage mechanism that gives pause() its symmetric pair semantics (pauseresume) without forcing every node body to be re-architected as a state machine.

Properties

PropertyModifierTypeDefined in
consumedpublicbooleanpackages/core/src/channels/pause.ts:48
valuereadonlyunknownpackages/core/src/channels/pause.ts:47