Remove check in grpc-js that doesn't appear in grpc

This commit is contained in:
murgatroid99 2019-07-09 10:52:51 -07:00
parent c186e6d0a1
commit 3f460716fb
1 changed files with 0 additions and 5 deletions

View File

@ -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.