MCPcopy Create free account
hub / github.com/tiann/hapi / rejectAllPending

Method rejectAllPending

cli/src/codex/codexAppServerClient.ts:489–495  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

487 }
488
489 private rejectAllPending(error: Error): void {
490 for (const { reject, cleanup } of this.pending.values()) {
491 cleanup();
492 reject(error);
493 }
494 this.pending.clear();
495 }
496}

Callers 3

connectMethod · 0.95
disconnectMethod · 0.95
handleLineMethod · 0.95

Calls 2

clearMethod · 0.80
cleanupFunction · 0.50

Tested by

no test coverage detected