MCPcopy Index your code
hub / github.com/github/copilot-sdk / onExit

Function onExit

nodejs/src/client.ts:126–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124 let timeout: ReturnType<typeof setTimeout>;
125 let settled = false;
126 const onExit = () => {
127 if (settled) {
128 return;
129 }
130 settled = true;
131 clearTimeout(timeout);
132 resolve(true);
133 };
134 timeout = setTimeout(() => {
135 if (settled) {
136 return;

Callers 1

waitForChildExitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…