MCPcopy
hub / github.com/TanStack/ai / setIsSubscribed

Method setIsSubscribed

packages/ai-client/src/chat-client.ts:508–512  ·  view source on GitHub ↗
(isSubscribed: boolean)

Source from the content-addressed store, hash-verified

506 }
507
508 private setIsSubscribed(isSubscribed: boolean): void {
509 this.isSubscribed = isSubscribed
510 this.callbacksRef.current.onSubscriptionChange(isSubscribed)
511 this.devtoolsBridge.emitSnapshot()
512 }
513
514 private setConnectionStatus(status: ConnectionStatus): void {
515 this.connectionStatus = status

Callers 4

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

Calls 1

emitSnapshotMethod · 0.45

Tested by

no test coverage detected