Skip to content

Function: executeResumeForkBatch() ​

ts
function executeResumeForkBatch<THandle>(params): Promise<ForkBatchExecutionResult>;

Defined in: runtime/fork/execute-fork-batch.ts:253

Executes the built-in resumeFork capability tool to resume or abort suspended child forks (SPEC.md §3.7.2).

Supports multi-ID suspendedForkIds aggregation into a single tool_result, action: 'abort', replay-idempotent restoreCheckpoint + syncChild, Cases A/B/C, and atomic resolveSuspendedFork.

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownRuntime handle type of the active BranchableScope.

Parameters ​

ParameterTypeDescription
paramsForkBatchExecutionParams<THandle>Resume fork batch execution parameters.

Returns ​

Promise<ForkBatchExecutionResult>

Aggregated resumeFork tool result and settled batch frame.

Released under the MIT License.