No event on disconnect when making a server stream request
Open
package: @grpc/grpc-js
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 716
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 10
Description
### Problem description
When using `makeServerStreamRequest` I'm expecting to receive an error if the connection has been interrupted(like turning of the machine wifi). Instead there is no events emitted.
### Reproduction steps
I've prepared a simple POC of the problem which can be easily tested in this repo: https://github.com/rokn/grpc-server-stream-disconnect-poc
### Environment
- MacOS M1
- Node: 16.16
- nvm
- "@grpc/grpc-js": "1.9.3"
### Additional context
It could be I'm missing some documentation but I haven't found a way to do this
Contributor guide
Assessment
This issue has not been assessed yet.