Skip to content

Commit

Permalink
grpc-js-core: rename streamClosed event to close
Browse files Browse the repository at this point in the history
  • Loading branch information
kjin committed Dec 20, 2017
1 parent aea5bf8 commit 22438ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-js-core/src/call-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export class Http2CallStream extends Duplex implements CallStream {
this.unpushedReadMessages.push(null);
}
});
stream.on('streamClosed', async (errorCode) => {
stream.on('close', async (errorCode) => {
let code: Status;
let details = '';
switch (errorCode) {
Expand Down

0 comments on commit 22438ae

Please sign in to comment.