File size: 575 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
---
id: provideIsRestoring
title: provideIsRestoring
---
# Function: provideIsRestoring()
```ts
function provideIsRestoring(isRestoring): Provider
```
Used by TanStack Query Angular persist client plugin to provide the signal that tracks the restore state
## Parameters
### isRestoring
`Signal`\<`boolean`\>
a readonly signal that returns a boolean
## Returns
`Provider`
Provider for the `isRestoring` signal
## Defined in
[inject-is-restoring.ts:47](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-is-restoring.ts#L47)
|