Skip to content

Commit 6b24e57

Browse files
authored
Merge pull request #948 from murgatroid99/grpc-js_no_arity_check
Remove check in grpc-js that doesn't appear in grpc
2 parents c186e6d + 3f46071 commit 6b24e57

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/grpc-js/src/client.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ export class Client {
139139
);
140140
}
141141
});
142-
call.on('end', () => {
143-
if (responseMessage == null) {
144-
call.cancelWithStatus(Status.INTERNAL, 'Not enough responses received');
145-
}
146-
});
147142
call.on('status', (status: StatusObject) => {
148143
/* We assume that call emits status after it emits end, and that it
149144
* accounts for any cancelWithStatus calls up until it emits status.

0 commit comments

Comments
 (0)