MCPcopy Index your code
hub / github.com/TanStack/ai / interrupt

Method interrupt

packages/ai-client/src/realtime-client.ts:191–196  ·  view source on GitHub ↗

* Interrupt the current assistant response.

()

Source from the content-addressed store, hash-verified

189 * Interrupt the current assistant response.
190 */
191 interrupt(): void {
192 if (!this.connection) {
193 return
194 }
195 this.connection.interrupt()
196 }
197
198 // ============================================================================
199 // Text Input

Callers 1

useRealtimeChatFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected