MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / sleep

Function sleep

packages/codex-native-api/src/codex_app_client.ts:4299–4303  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

4297}
4298
4299function sleep(ms: number): Promise<void> {
4300 return new Promise<void>((resolve) => {
4301 setTimeout(resolve, ms);
4302 });
4303}
4304
4305function waitForChildExit(child: ChildProcess | null, timeoutMs: number): Promise<void> {
4306 return new Promise<void>((resolve, reject) => {

Callers 1

connectWebSocketMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected