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

Function flushMicrotasks

packages/query-db-collection/e2e/offline-refresh.e2e.test.ts:35–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33// --- Test helpers ---
34
35const flushMicrotasks = () => new Promise((resolve) => setTimeout(resolve, 0))
36
37class ManualOnlineDetector implements OnlineDetector {
38 private listeners = new Set<() => void>()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected