MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / sleep

Function sleep

src/utils/file-lock.ts:29–29  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

27}
28
29const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));
30
31/**
32 * Acquire `lockPath`, retrying while another process holds it. Throws if it

Callers 1

acquireLockFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected