MCPcopy Index your code
hub / github.com/TanStack/db / triggerAllTimeouts

Function triggerAllTimeouts

packages/db/tests/collection-lifecycle.test.ts:53–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 })
52
53 const triggerAllTimeouts = () => {
54 const callbacks = Array.from(timeoutCallbacks.entries())
55 callbacks.forEach(([id, callback]) => {
56 callback()
57 timeoutCallbacks.delete(id)
58 })
59 }
60
61 describe(`Collection Status Tracking`, () => {
62 it(`should start with idle status and transition to ready after first commit when startSync is false`, () => {

Callers 1

Calls 4

fromMethod · 0.80
entriesMethod · 0.45
forEachMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…