grpc-haskell icon indicating copy to clipboard operation
grpc-haskell copied to clipboard

High level API for Client

Open kolmodin opened this issue 9 years ago • 1 comments
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?

kolmodin avatar Nov 18 '16 07:11 kolmodin

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.

kolmodin avatar Dec 23 '16 15:12 kolmodin