diff --git a/packages/grpc-js/src/client.ts b/packages/grpc-js/src/client.ts index 5b243c383..a092e61d4 100644 --- a/packages/grpc-js/src/client.ts +++ b/packages/grpc-js/src/client.ts @@ -139,11 +139,6 @@ export class Client { ); } }); - call.on('end', () => { - if (responseMessage == null) { - call.cancelWithStatus(Status.INTERNAL, 'Not enough responses received'); - } - }); call.on('status', (status: StatusObject) => { /* We assume that call emits status after it emits end, and that it * accounts for any cancelWithStatus calls up until it emits status.