(
sessionId: string,
input: ChildAgentTurnInput,
suppliedExecution?: RuntimeExecutionClaim,
)
| 1129 | } |
| 1130 | |
| 1131 | async *startChildTurn( |
| 1132 | sessionId: string, |
| 1133 | input: ChildAgentTurnInput, |
| 1134 | suppliedExecution?: RuntimeExecutionClaim, |
| 1135 | ): AsyncIterable<SessionEvent> { |
| 1136 | const execution = this.takeExecutionClaim(sessionId, suppliedExecution); |
| 1137 | try { |
| 1138 | yield* this.startChildTurnClaimed(sessionId, input, execution); |
| 1139 | } finally { |
| 1140 | this.releaseExecutionClaim(execution); |
| 1141 | } |
| 1142 | } |
| 1143 | |
| 1144 | private async *startChildTurnClaimed( |
| 1145 | sessionId: string, |
nothing calls this directly
no test coverage detected