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

Function flushAsyncWork

packages/db-sqlite-persistence-core/tests/persisted.test.ts:255–257  ·  view source on GitHub ↗
(delayMs: number = 0)

Source from the content-addressed store, hash-verified

253}
254
255async function flushAsyncWork(delayMs: number = 0): Promise<void> {
256 await new Promise((resolve) => setTimeout(resolve, delayMs))
257}
258
259describe(`persistedCollectionOptions`, () => {
260 it(`provides a sync-absent loopback configuration with persisted utils`, async () => {

Callers 1

persisted.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…