From 9a1016add726a1c1019770f27ce64c1050139c93 Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Tue, 1 Aug 2023 17:00:37 -0500 Subject: [PATCH] [FEAT] added noop implementation for discard() api (#580) --- src/node_transport.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/node_transport.ts b/src/node_transport.ts index c2c46c69..b296b584 100644 --- a/src/node_transport.ts +++ b/src/node_transport.ts @@ -315,6 +315,10 @@ export class NodeTransport implements Transport { } } + discard() { + // ignored - this is not required, as there's no throttling + } + disconnect(): void { this._closed(undefined, true).then().catch(); }