Add examples for streaming situations
Specifically, I'm looking for how to properly close a streaming RPC with an error code/status in a Node server.
See https://github.com/grpc/grpc-node/issues/287
Hey. Error handling in streaming would be same as non streaming RPC calls
@avinassh how exactly? you can't just call.write() since it's typed and it will throw if you try to send anything else except the proper message.
found it, but it's absolutely not the same as with unary
https://github.com/grpc/grpc-node/issues/287#issuecomment-383218225
call.emit('error', status)
Thanks for educating me @long1eu, I assumed it would be same since it is same across all languages.
Thank you for your work.