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

Function sleep

packages/db-collection-e2e/src/utils/helpers.ts:34–36  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

32 * Sleep for specified milliseconds
33 */
34export function sleep(ms: number): Promise<void> {
35 return new Promise((resolve) => setTimeout(resolve, ms))
36}
37
38/**
39 * Get all loaded item IDs from a collection

Callers 1

waitForFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected