Open History to see the last commit
1---
2id: injectIsRestoring
3title: injectIsRestoring
4---
5β
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7β
8```ts
9function injectIsRestoring(): Signal<boolean>;
10```
11β
12Defined in: [packages/angular-query/src/inject-is-restoring.ts:21](https://github.com/TanStack/query/blob/main/packages/angular-query/src/inject-is-restoring.ts#L21)
13β
14Injects a readonly signal that is true while the persistence integration restores
15cached query data. Returns false when no restoration is in progress.
16β
17## Returns
18β
19`Signal`\<`boolean`\>
20β
21The current restoration state.