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

Function settle

e2e/desktop-packaged/supervised-regressions.test.ts:373–377  ·  view source on GitHub ↗
(ready: boolean)

Source from the content-addressed store, hash-verified

371 let stderr = "";
372 let settled = false;
373 const settle = (ready: boolean) => {
374 if (settled) return;
375 settled = true;
376 resolve({ child, ready, stderr });
377 };
378 const timer = setTimeout(() => settle(false), 60_000);
379 child.stdout.on("data", (chunk: Buffer) => {
380 if (/Daemon ready on http:\/\//.test(chunk.toString())) {

Callers 3

startSupervisedDaemonFunction · 0.70
collectOutputFunction · 0.70
launchPackagedFunction · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected