MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / finish

Function finish

src/utils/run-process.ts:74–79  ·  view source on GitHub ↗
(r: Omit<RunProcessResult, 'ok'>)

Source from the content-addressed store, hash-verified

72 });
73
74 const finish = (r: Omit<RunProcessResult, 'ok'>) => {
75 if (settled) return;
76 settled = true;
77 clearTimeout(timer);
78 resolve({ ...r, ok: r.code === 0 && !r.timedOut && !r.notFound });
79 };
80
81 const timer = setTimeout(() => {
82 timedOut = true;

Callers 1

runProcessFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected