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

Function unsubscribeFromQueries

packages/query-db-collection/src/query.ts:1432–1437  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1430 }
1431
1432 const unsubscribeFromQueries = () => {
1433 unsubscribes.forEach((unsubscribeFn) => {
1434 unsubscribeFn()
1435 })
1436 unsubscribes.clear()
1437 }
1438
1439 // Mark that sync has started
1440 syncStarted = true

Callers 2

internalSyncFunction · 0.85
cleanupFunction · 0.85

Calls 2

forEachMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected