Skip to content

Commit b78db9d

Browse files
author
Andrew Matheny
committed
Propagate callEnd events
1 parent 009747b commit b78db9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/grpc-js/src/server-call.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,8 @@ export class Http2ServerCallStream<
726726
call.cancelled = true;
727727
call.emit('cancelled', reason);
728728
});
729+
730+
this.once('callEnd', (status) => call.emit('callEnd', status));
729731
}
730732

731733
setupReadable(

0 commit comments

Comments
 (0)