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

Method setSessionGenerating

packages/ai-client/src/chat-client.ts:520–525  ·  view source on GitHub ↗
(isGenerating: boolean)

Source from the content-addressed store, hash-verified

518 }
519
520 private setSessionGenerating(isGenerating: boolean): void {
521 if (this.sessionGenerating === isGenerating) return
522 this.sessionGenerating = isGenerating
523 this.callbacksRef.current.onSessionGeneratingChange(isGenerating)
524 this.devtoolsBridge.emitSnapshot()
525 }
526
527 private resetSessionGenerating(): void {
528 this.activeRunIds.clear()

Callers 3

updateRunLifecycleMethod · 0.95

Calls 1

emitSnapshotMethod · 0.45

Tested by

no test coverage detected