MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / sleep

Function sleep

packages/db/src/session-consistency.ts:93–95  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

91}
92
93async function sleep(ms: number): Promise<void> {
94 return new Promise((resolve) => setTimeout(resolve, ms));
95}
96
97// Method not used for now,
98// Need a way to check LSN on the actual replica that will be used for the read.

Callers 2

waitForReplicaCatchupFunction · 0.70
sessionConsistencyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected