MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / rejectCommand

Function rejectCommand

src/benchmarks/claude-ui/harness.ts:358–368  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

356 };
357
358 const rejectCommand = (error: Error): void => {
359 if (settled) return;
360 settled = true;
361 clearTerminalResultTimer();
362 clearTimeoutTimer();
363 clearHardKillTimer();
364 terminateChild();
365 stdout.destroy();
366 stderr.destroy();
367 reject(error);
368 };
369
370 const recordTerminalResult = (result: StreamJsonResult): void => {
371 if (terminalResultExitCode !== undefined || opts.terminalJsonResultGraceMs === undefined)

Callers 1

runCommandFunction · 0.85

Calls 4

clearTerminalResultTimerFunction · 0.85
clearTimeoutTimerFunction · 0.85
clearHardKillTimerFunction · 0.85
terminateChildFunction · 0.85

Tested by

no test coverage detected