MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / sleep

Function sleep

e2e/setup/desktop-vm.ts:11–11  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

9export const CDP_GUEST_PORT = 9222;
10
11const sleep = (ms: number): Promise<void> => new Promise((r) => setTimeout(r, ms));
12
13/** Poll until an HTTP endpoint inside the guest answers (any status — a 401 from
14 * the bearer-gated daemon still means "up"). HTTP, not lsof: the app may be

Callers 2

waitGuestHttpFunction · 0.70
waitGuestPageTargetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected