Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High level API for Client #2

Open
kolmodin opened this issue Nov 18, 2016 · 1 comment
Open

High level API for Client #2

kolmodin opened this issue Nov 18, 2016 · 1 comment

Comments

@kolmodin
Copy link
Member

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
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant