Interface: ChildInterruptHandlerNode<TPayload>
Defined in: ast/child-interrupt-handler-node.ts:12
Passive AST node representing an upward child-interrupt handler declared on a parent agent (.onChildInterrupt(interrupt, $intr => ...)).
Instructs the runtime to suspend the raising child fork at its continuation stack, pause concurrent sibling forks in pauseSiblingForksInPartitions(payload), and return a normal tool_result to the parent timeline.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TPayload | unknown | Interrupt payload type validated by interrupt.schema. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
interrupt | readonly | InterruptNode<TPayload> | Upward InterruptNode intercepted from a downward child fork or speculative branch. | ast/child-interrupt-handler-node.ts:16 |
mode | readonly | "suspend-and-return-to-parent" | Continuation-stack suspension mode returning control to the parent actor's single timeline. | ast/child-interrupt-handler-node.ts:23 |
pauseSiblingForksInPartitions? | readonly | BivariantCallback<[payload: TPayload], readonly string[]> | Optional synchronous mapper returning partition IDs whose concurrent sibling forks must pause at the turn-batch barrier. | ast/child-interrupt-handler-node.ts:18 |
type | readonly | "harness:child-interrupt-handler" | Discriminant identifying a child interrupt handler AST node. | ast/child-interrupt-handler-node.ts:14 |