-
Notifications
You must be signed in to change notification settings - Fork 567
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
Add option to make RpcClient fail early if there are no bindings #417
Comments
A return handler can be registered and either throw/etc or do nothing depending on user-provided values. @acogoluegnes WDYT? |
This should be possible as-is:
|
Arguably the key part here is the |
It's straightforward to correlate the original blocking cell in the return listener, so we could unblock the blocking cell and throw an exception or do something else. |
I have noticed that the RpcClient utiltity has no way of using the 'mandatory' flag.
I would like my RPC call to fail 'fast' in case nobody is listening to the request. Wihout it, i have to wait for the RPC to timeout.
The text was updated successfully, but these errors were encountered: