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

Function setQueryClientContext

packages/svelte-query/src/context.ts:42–44  ·  view source on GitHub ↗
(client: QueryClient)

Source from the content-addressed store, hash-verified

40 * ```
41 */
42export const setQueryClientContext = (client: QueryClient): void => {
43 setContext(_contextKey, client)
44}
45
46const _isRestoringContextKey = Symbol('isRestoring')
47

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected