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

Function reject

apps/desktop/src/main/sidecar.ts:300–305  ·  view source on GitHub ↗
(err: Error)

Source from the content-addressed store, hash-verified

298 const logStderrLine = makeLineSplitter((line) => sidecarLog.error(line));
299
300 const reject = (err: Error) => {
301 if (resolved || rejected) return;
302 rejected = true;
303 // oxlint-disable-next-line executor/no-promise-reject -- boundary: sidecar startup surfaces as a rejected promise
304 rejectStart(err);
305 };
306
307 const onStdout = (chunk: Buffer) => {
308 const text = chunk.toString("utf8");

Callers 15

withServerFunction · 0.85
withServerFunction · 0.85
executeFunction · 0.85
readRequestBodyFunction · 0.85
listenLocalFunction · 0.85
reserveLocalPortFunction · 0.85
runFunction · 0.85
waitForDeferredsFunction · 0.85
onSpawnErrorFunction · 0.85
writeFunction · 0.85
onStdoutFunction · 0.85
onExitFunction · 0.85

Calls

no outgoing calls

Tested by 8

withServerFunction · 0.68
withServerFunction · 0.68
diagnoseWedgeFunction · 0.68
onErrorFunction · 0.68
waitForIdMethod · 0.68
waitForFirstResponseMethod · 0.68
launchPackagedFunction · 0.68
launchPackagedFunction · 0.68