MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / sleep

Function sleep

src/mcp/daemon-registry.ts:131–131  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

129}
130
131const sleep = (ms: number): Promise<void> => new Promise((r) => setTimeout(r, ms));
132
133async function waitForDeath(pid: number, timeoutMs: number): Promise<boolean> {
134 const deadline = Date.now() + timeoutMs;

Callers 1

waitForDeathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected