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

Function onExit

packages/codex-native-api/src/codex_app_client.ts:4315–4318  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4313 reject(new Error('Timed out waiting for Codex child process to exit'));
4314 }, timeoutMs);
4315 const onExit = () => {
4316 cleanup();
4317 resolve();
4318 };
4319 const cleanup = () => {
4320 clearTimeout(timer);
4321 child.off('exit', onExit);

Callers

nothing calls this directly

Calls 2

resolveFunction · 0.85
cleanupFunction · 0.70

Tested by

no test coverage detected