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

Function isMissingQueryClientError

packages/lit-query/src/tests/testHost.ts:100–104  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

98}
99
100function isMissingQueryClientError(error: unknown): boolean {
101 return (
102 error instanceof Error && /No QueryClient available/.test(error.message)
103 )
104}
105
106export async function waitForMissingQueryClient(
107 read: () => unknown,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected