Fixes for remaining issues
This commit is contained in:
parent
8f1ed7588d
commit
a066873e37
1 changed files with 415 additions and 43 deletions
|
|
@ -578,7 +578,12 @@ export class RemoteClientTransport implements Transport {
|
|||
}
|
||||
|
||||
private cancelSseResponseWait(requestId: string | number): void {
|
||||
const wait = this.sseResponseWaits.get(requestId);
|
||||
if (!wait) {
|
||||
return;
|
||||
}
|
||||
this.sseResponseWaits.delete(requestId);
|
||||
wait.reject(new Error("SSE response wait cancelled"));
|
||||
}
|
||||
|
||||
private cancelAllSseWaits(error: Error): void {
|
||||
|
|
|
|||
Loading…
Reference in a new issue