Skip to content

Commit

Permalink
[FEAT] added noop implementation for discard() api (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart authored Aug 1, 2023
1 parent cdcdc84 commit 9a1016a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/node_transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 9a1016a

Please sign in to comment.