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

Function flushPromises

packages/query-db-collection/tests/query.test.ts:44–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42
43// Helper to advance timers and allow microtasks to flush
44const flushPromises = () => new Promise((resolve) => setTimeout(resolve, 0))
45
46function createInMemorySyncMetadataApi<
47 TKey extends string | number = string | number,

Callers 1

query.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected