mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
grpc-js-core: rename streamClosed event to close
This commit is contained in:
parent
aea5bf82e5
commit
22438ae678
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user