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

getisrestoringcontext.md

20 lines429 Bytes

1---
2id: getIsRestoringContext
3title: getIsRestoringContext
4---
5​
6# Function: getIsRestoringContext()
7​
8```ts
9function getIsRestoringContext(): Readable<boolean>
10```
11​
12Retrieves a `isRestoring` from Svelte's context
13​
14## Returns
15​
16`Readable`\<`boolean`\>
17​
18## Defined in
19​
20[packages/svelte-query/src/context.ts:28](https://github.com/TanStack/query/blob/dac5da5416b82b0be38a8fb34dde1fc6670f0a59/packages/svelte-query/src/context.ts#L28)