mirror of
https://github.com/TanStack/query.git
synced 2026-11-18 19:33:22 +00:00
724 B
724 B
| id | title |
|---|---|
| injectIsRestoring | injectIsRestoring |
Function: injectIsRestoring()
function injectIsRestoring(options?): Signal<boolean>;
Defined in: inject-is-restoring.ts:32
Injects a signal that tracks whether a restore is currently in progress. injectQuery and friends also check this internally to avoid race conditions between the restore and initializing queries.
Parameters
options?
InjectIsRestoringOptions
Options for injectIsRestoring.
Returns
Signal<boolean>
readonly signal with boolean that indicates whether a restore is in progress.