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

Function runPersistedRetentionMaintenance

packages/query-db-collection/src/query.ts:817–823  ·  view source on GitHub ↗
(task: () => Promise<void>)

Source from the content-addressed store, hash-verified

815 }
816
817 const runPersistedRetentionMaintenance = (task: () => Promise<void>) => {
818 persistedRetentionMaintenance = persistedRetentionMaintenance.then(
819 task,
820 task,
821 )
822 return persistedRetentionMaintenance
823 }
824
825 const cancelPersistedRetentionExpiry = (hashedQueryKey: string) => {
826 const timer = persistedRetentionTimers.get(hashedQueryKey)

Callers 2

internalSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected