mirror of
https://github.com/grpc/grpc-node.git
synced 2026-02-01 14:54:35 +00:00
Merge pull request #948 from murgatroid99/grpc-js_no_arity_check
Remove check in grpc-js that doesn't appear in grpc
This commit is contained in:
commit
6b24e57e3c
@ -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…
x
Reference in New Issue
Block a user