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

Method setConnectionStatus

packages/ai-client/src/chat-client.ts:514–518  ·  view source on GitHub ↗
(status: ConnectionStatus)

Source from the content-addressed store, hash-verified

512 }
513
514 private setConnectionStatus(status: ConnectionStatus): void {
515 this.connectionStatus = status
516 this.callbacksRef.current.onConnectionStatusChange(status)
517 this.devtoolsBridge.emitSnapshot()
518 }
519
520 private setSessionGenerating(isGenerating: boolean): void {
521 if (this.sessionGenerating === isGenerating) return

Callers 5

startSubscriptionMethod · 0.95
consumeSubscriptionMethod · 0.95
subscribeMethod · 0.95
unsubscribeMethod · 0.95
updateOptionsMethod · 0.95

Calls 1

emitSnapshotMethod · 0.45

Tested by

no test coverage detected