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

Method resetParserState

cli/src/codex/codexAppServerClient.ts:484–487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

482 }
483
484 private resetParserState(): void {
485 this.buffer = '';
486 this.protocolError = null;
487 }
488
489 private rejectAllPending(error: Error): void {
490 for (const { reject, cleanup } of this.pending.values()) {

Callers 2

connectMethod · 0.95
disconnectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected