MCPcopy Create free account
hub / github.com/TanStack/query / getQueryClient

Function getQueryClient

packages/lit-query/src/controllers/BaseController.ts:127–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 protected getQueryClient(): QueryClient {
128 const client = this.tryGetQueryClient()
129 if (!client) {
130 throw createMissingQueryClientError()
131 }
132
133 return client
134 }
135
136 protected setResult(next: TResult): void {
137 if (Object.is(this.result, next)) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected