MCPcopy Index your code
hub / github.com/Doorman11991/smallcode / _failPending

Method _failPending

src/tools/shell_session.js:308–314  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

306 }
307
308 _failPending(reason) {
309 while (this.queue.length > 0) {
310 const q = this.queue.shift();
311 clearTimeout(q.timer);
312 q.resolve({ stdout: '', exitCode: -1, timedOut: false, error: reason });
313 }
314 }
315}
316
317// ─── Module-level singleton (one shell per SmallCode process) ────────────

Callers 3

startMethod · 0.95
runMethod · 0.95
stopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected