mirror of https://github.com/grpc/grpc-node.git
Remove check in grpc-js that doesn't appear in grpc
This commit is contained in:
parent
c186e6d0a1
commit
3f460716fb
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue