MCPcopy Create free account
hub / github.com/TanStack/ai / getSessionGenerating

Method getSessionGenerating

packages/ai-client/src/chat-client.ts:1413–1415  ·  view source on GitHub ↗

* Whether the shared session is actively generating. * Derived from stream run events (RUN_STARTED / RUN_FINISHED / RUN_ERROR). * Unlike `isLoading` (request-local), this reflects shared generation * activity visible to all subscribers (e.g. across tabs/devices).

()

Source from the content-addressed store, hash-verified

1411 * activity visible to all subscribers (e.g. across tabs/devices).
1412 */
1413 getSessionGenerating(): boolean {
1414 return this.sessionGenerating
1415 }
1416
1417 /**
1418 * Get current error

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected