MCPcopy Create free account
hub / github.com/TanStack/db / forceCleanupQuery

Function forceCleanupQuery

packages/query-db-collection/src/query.ts:1629–1631  ·  view source on GitHub ↗
(hashedQueryKey: string)

Source from the content-addressed store, hash-verified

1627 * Ignores refcounts/hasListeners and removes everything.
1628 */
1629 const forceCleanupQuery = (hashedQueryKey: string) => {
1630 cleanupQueryInternal(hashedQueryKey)
1631 }
1632
1633 // Subscribe to the query client's cache to handle queries that are GCed by tanstack query
1634 const unsubscribeQueryCache = queryClient

Callers 1

cleanupFunction · 0.85

Calls 1

cleanupQueryInternalFunction · 0.85

Tested by

no test coverage detected