MCPcopy Index your code
hub / github.com/coder/mux / settleError

Function settleError

src/node/runtime/devcontainerCli.ts:276–281  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

274 stderrBuffer = (stderrBuffer + next).slice(0, MAX_STDERR_BUFFER_LENGTH);
275 };
276 const settleError = (error: Error) => {
277 if (settled) return;
278 settled = true;
279 if (timeoutId) clearTimeout(timeoutId);
280 reject(error);
281 };
282
283 const stdoutLineBuffer = new LineBuffer((line) => {
284 const parsed = parseDevcontainerStdoutLine(line);

Callers 4

abortHandlerFunction · 0.85
runUpFunction · 0.85
finalizeErrorFunction · 0.85
handleCloseFunction · 0.85

Calls 1

rejectFunction · 0.85

Tested by

no test coverage detected