mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
grpc-js-core: emit status on client stream calls
This commit is contained in:
parent
6ec3091273
commit
da73a0fff0
@ -190,6 +190,9 @@ export class ClientWritableStreamImpl<RequestType> extends Writable implements
|
||||
call.on('metadata', (metadata: Metadata) => {
|
||||
this.emit('metadata', metadata);
|
||||
});
|
||||
call.on('status', (status: StatusObject) => {
|
||||
this.emit('status', status);
|
||||
});
|
||||
}
|
||||
|
||||
cancel(): void {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user