react-code-dataset
/
react-query
/docs
/framework
/angular
/reference
/functions
/injectisrestoring.md
metadata
id: injectIsRestoring
title: injectIsRestoring
Function: injectIsRestoring()
function injectIsRestoring(options?): Signal<boolean>
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>
signal with boolean that indicates whether a restore is in progress.