Interface: DrainToolBatchOutcome<THandle>
Defined in: runtime/agent/drain-tool-batch-outcome.ts:12
Outcome returned by drainPendingToolBatch() after processing PendingToolBatch.remainingCalls.
Reports whether the batch completed normally ('completed'), suspended on prerequisites ('suspended'), or exited via an unhandled/replacement interrupt ('interrupted').
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
batch | readonly | PendingToolBatch | Settled PendingToolBatch record. | runtime/agent/drain-tool-batch-outcome.ts:16 |
interruptResolution? | readonly | InterruptEdgeResolution<THandle> | Interrupt resolution metadata when status === 'interrupted'. | runtime/agent/drain-tool-batch-outcome.ts:18 |
status | readonly | "completed" | "suspended" | "interrupted" | Terminal status of the tool batch drain. | runtime/agent/drain-tool-batch-outcome.ts:14 |