MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / sleepSync

Function sleepSync

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

Source from the content-addressed store, hash-verified

27const SLEEP_SYNC_WAIT_TARGET = new Int32Array(new SharedArrayBuffer(4));
28
29function sleepSync(ms: number): void {
30 Atomics.wait(SLEEP_SYNC_WAIT_TARGET, 0, 0, ms);
31}
32
33/**
34 * Synchronous lock acquisition with bounded busy-wait. Blocks the event loop for up to

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected