Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
API Reference
API Reference

setIsRestoringContext

ts
function setIsRestoringContext(isRestoring: Box<boolean>): void;
function setIsRestoringContext(isRestoring: Box<boolean>): void;

Defined in: packages/svelte-query/src/context.ts:68

Sets a isRestoring on Svelte's context.

Parameters

isRestoring

Box<boolean>

The box holding whether the cache is being restored, e.g. by a persister.

Returns

void