grpc-haskell
grpc-haskell copied to clipboard
High level API for Client
trafficstars
The current Rpc monad does not capture RECV_STATUS_ON_CLIENT well.
Should maybe check for each Rpc operation whether the status has been received, and if so, throw exception to end the execution of Rpc.
Too easy to implement buggy behaviour, if the user doesn't expect an exception and wanted to do more operations?
I'm tempted to use exceptions instead of an Rpc monad. It'd be easier to write code that has two clients that need to interact.