MCPcopy Create free account
hub / github.com/TanStack/query / injectIsRestoring

Function injectIsRestoring

packages/angular-query/src/inject-is-restoring.ts:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 * default when no persistence integration is registered).
22 */
23export function injectIsRestoring() {
24 if (typeof ngDevMode === 'undefined' || ngDevMode) {
25 assertInInjectionContext(injectIsRestoring)
26 }
27 return inject(IS_RESTORING)
28}
29
30/**
31 * Supplies injector-scoped restoration state to the Angular Query integrations.

Callers 5

PageClass · 0.90
injectBaseQueryFunction · 0.90
injectQueriesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected