Open History to see the last commit
function getQueryClientContext(): QueryClient;
Defined in: packages/svelte-query/src/context.ts:13
Retrieves the QueryClient set on Svelte's context by QueryClientProvider (or by
setQueryClientContext directly). This is what useQueryClient calls internally.
Returns#
The QueryClient set on context, whether by QueryClientProvider or setQueryClientContext.
Throws#
If no QueryClient was found in context.