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

Method cancel

packages/db/src/collection/cleanup-queue.ts:43–45  ·  view source on GitHub ↗
(key: unknown)

Source from the content-addressed store, hash-verified

41 }
42
43 public cancel(key: unknown): void {
44 this.tasks.delete(key)
45 }
46
47 /**
48 * Keeps only one active timeout: whichever task is due next.

Callers 7

cancelGCTimerMethod · 0.80
performCleanupMethod · 0.80
throttleStrategyFunction · 0.80
debounceStrategyFunction · 0.80
cancelEventReaderFunction · 0.80
trailbase.test.tsFile · 0.80

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected