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

Function provideIsRestoring

packages/angular-query/src/inject-is-restoring.ts:37–44  ·  view source on GitHub ↗
(
  isRestoringFactory: () => Signal<boolean>,
)

Source from the content-addressed store, hash-verified

35 * @returns The provider that makes the restoration state injectable.
36 */
37export function provideIsRestoring(
38 isRestoringFactory: () => Signal<boolean>,
39): Provider {
40 return {
41 provide: IS_RESTORING,
42 useFactory: isRestoringFactory,
43 }
44}

Calls

no outgoing calls

Tested by

no test coverage detected