elixir-grpc / grpc

An Elixir implementation of gRPC
https://hex.pm/packages/grpc
Apache License 2.0
1.36k stars 210 forks source link

Is there an example how to manage bidirectional streams on server side? #311

Open glagius opened 1 year ago

glagius commented 1 year ago

Describe the question A clear and concise description of what the question is. I'm trying to implement grpc-service with bidirectional method, and found that there is no clean way how to close stream on server side. All what i can do - just kill process.

Versions:

glagius commented 1 year ago

I've found a way with raising exception, but is it normal for closing connection?