@wpkernel/pipeline / Suspension
Type Alias: Suspension<TNodes, TOutputs, TEffects>
ts
type Suspension<TNodes, TOutputs, TEffects> = object;Live, single-use process-local authority over one drained graph frontier.
The public pause and snapshot fields are diagnostic projections. Continuation authority remains private, cannot be copied or serialised, and does not survive process death. The host must retain and consume the original token.
Type Parameters
TNodes
TNodes extends NodeRegistry
TOutputs
TOutputs extends Readonly<Record<string, GraphValue>>
TEffects
TEffects extends EffectRegistry
Properties
pause
ts
readonly pause: PauseRecord;snapshot
ts
readonly snapshot: RunDiagnostics;