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

Method beginStreamErrorRecoveryDecision

src/node/services/agentSession.ts:797–803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

795 }
796
797 private beginStreamErrorRecoveryDecision(): void {
798 let resolveDecision!: () => void;
799 const promise = new Promise<void>((resolve) => {
800 resolveDecision = resolve;
801 });
802 this.streamErrorRecoveryDecision = { promise, resolve: resolveDecision };
803 }
804
805 private resolveStreamErrorRecoveryDecision(): void {
806 const decision = this.streamErrorRecoveryDecision;

Callers 1

errorHandlerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected