Function: executeForkBatch()
ts
function executeForkBatch<THandle>(params): Promise<ForkBatchExecutionResult>;Defined in: runtime/fork/execute-fork-batch.ts:144
Executes a concurrent batch of downward .fork() tool calls with turn-batch sibling barrier and 3-way commitChild (SPEC.md §3.7.2).
Forks isolated child scopes under a shared read lock on parentHandle, runs child executables concurrently, coordinates upward interrupt barriers across siblings, and commits completed children sequentially.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active BranchableScope. |
Parameters
| Parameter | Type | Description |
|---|---|---|
params | ForkBatchExecutionParams<THandle> | Fork batch execution parameters. |
Returns
Promise<ForkBatchExecutionResult>
Per-callId tool results and settled ForkBatchContinuationFrame.