(params: TurnStartParams, options?: { signal?: AbortSignal })
| 193 | } |
| 194 | |
| 195 | async startTurn(params: TurnStartParams, options?: { signal?: AbortSignal }): Promise<TurnStartResponse> { |
| 196 | const response = await this.sendRequest('turn/start', params, { |
| 197 | signal: options?.signal, |
| 198 | timeoutMs: CodexAppServerClient.DEFAULT_TIMEOUT_MS |
| 199 | }); |
| 200 | return response as TurnStartResponse; |
| 201 | } |
| 202 | |
| 203 | async interruptTurn(params: TurnInterruptParams): Promise<TurnInterruptResponse> { |
| 204 | const response = await this.sendRequest('turn/interrupt', params, { |
no test coverage detected