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

getIsRestoringContext.md

21 lines529 Bytes

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