Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

getIsRestoringContext.md

19 lines456 Bytes

1---
2id: getIsRestoringContext
3title: getIsRestoringContext
4---
5​
6```ts
7function getIsRestoringContext(): Box<boolean>;
8```
9​
10Defined in: [packages/svelte-query/src/context.ts:53](https://github.com/TanStack/query/blob/main/packages/svelte-query/src/context.ts#L53)
11​
12Retrieves a `isRestoring` from Svelte's context.
13​
14## Returns
15​
16`Box`\<`boolean`\>
17​
18The `isRestoring` box set on context, or a box holding `false` if none was set or the
19context is unavailable.