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

Method setIsLoading

packages/ai-client/src/generation-client.ts:417–421  ·  view source on GitHub ↗
(isLoading: boolean)

Source from the content-addressed store, hash-verified

415 }
416
417 private setIsLoading(isLoading: boolean): void {
418 this.isLoading = isLoading
419 this.callbacksRef.onLoadingChange?.(isLoading)
420 this.devtoolsBridge.recordLoadingChange()
421 }
422
423 private setError(error: Error | undefined): void {
424 this.error = error

Callers 2

generateMethod · 0.95
stopMethod · 0.95

Calls 1

recordLoadingChangeMethod · 0.45

Tested by

no test coverage detected