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

injectIsRestoring.md

21 lines572 Bytes

function injectIsRestoring(): Signal<boolean>;

Defined in: packages/angular-query/src/inject-is-restoring.ts:21

Injects a readonly signal that is true while the persistence integration restores cached query data. Returns false when no restoration is in progress.

Returns

Signal<boolean>

The current restoration state.