MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / wait

Function wait

scripts/regression/gate.mjs:314–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312 let hung = false;
313 let timer;
314 const wait = () => {
315 clearTimeout(timer);
316 timer = setTimeout(() => {
317 hung = true;
318 child.kill('SIGKILL');
319 }, CASE_LIMIT_SECONDS * 1000);
320 };
321 wait();
322 child.stdout.on('data', (chunk) => {
323 out += chunk;

Callers 1

watchedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected