We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c186e6d commit 3f46071Copy full SHA for 3f46071
packages/grpc-js/src/client.ts
@@ -139,11 +139,6 @@ export class Client {
139
);
140
}
141
});
142
- call.on('end', () => {
143
- if (responseMessage == null) {
144
- call.cancelWithStatus(Status.INTERNAL, 'Not enough responses received');
145
- }
146
- });
147
call.on('status', (status: StatusObject) => {
148
/* We assume that call emits status after it emits end, and that it
149
* accounts for any cancelWithStatus calls up until it emits status.
0 commit comments