Skip to content

Function: syncSuspendedRunPrerequisites() ​

ts
function syncSuspendedRunPrerequisites<THandle>(params): Promise<SyncPrerequisitesResult>;

Defined in: runtime/plan/execute-plan-mutation.ts:397

Synchronizes completed prerequisite receipts, topology overlays, and syncRoot upon 'SUSPENDED' wakeup or initial run start (SPEC.md §3.7.2).

Enforces replay idempotency by restoring headScopeCheckpoint before syncRoot and persisting syncedToPrerequisiteCheckpoint before re-acquiring services and draining remainingCalls.

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownRuntime handle type of the active isolation scope.

Parameters ​

ParameterTypeDescription
paramsSyncPrerequisitesParams<THandle>Prerequisite wakeup synchronization parameters.

Returns ​

Promise<SyncPrerequisitesResult>

Synchronization notes, conflict lease, and updated agent frame.

Released under the MIT License.