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

Function resolveQueryClient

packages/lit-query/src/context.ts:124–126  ·  view source on GitHub ↗
(explicit?: QueryClient)

Source from the content-addressed store, hash-verified

122 * client.
123 */
124export function resolveQueryClient(explicit?: QueryClient): QueryClient {
125 return explicit ?? useQueryClient()
126}

Callers 1

Calls 1

useQueryClientFunction · 0.70

Tested by

no test coverage detected