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

Function reject

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

Source from the content-addressed store, hash-verified

280 const logStderrLine = makeLineSplitter((line) => sidecarLog.error(line));
281
282 const reject = (err: Error) => {
283 if (resolved || rejected) return;
284 rejected = true;
285 // oxlint-disable-next-line executor/no-promise-reject -- boundary: sidecar startup surfaces as a rejected promise
286 rejectStart(err);
287 };
288
289 const onStdout = (chunk: Buffer) => {
290 const text = chunk.toString("utf8");

Callers 15

timeoutFunction · 0.85
withServerFunction · 0.85
withServerFunction · 0.85
executeFunction · 0.85
readRequestBodyFunction · 0.85
listenLocalFunction · 0.85
reserveLocalPortFunction · 0.85
runFunction · 0.85
waitForDeferredsFunction · 0.85
onStdoutFunction · 0.85
onExitFunction · 0.85
db.close.test.tsFile · 0.85

Calls

no outgoing calls

Tested by 6

withServerFunction · 0.68
withServerFunction · 0.68
onErrorFunction · 0.68
waitForIdMethod · 0.68
launchPackagedFunction · 0.68
launchPackagedFunction · 0.68