You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone.
I'm wondering why there's a status tupled with the rpc response, as a return to Client.call.
All the examples end up matching the result with
match response with
| Ok (response, _ok) -> ...
|Errorerror -> ...
As there are no examples showing a use case for this status, and all existing examples end up ignoring it, I am left wondering why it is given at all. Are there any cases where it is not the OK status? If so, which values can it be?
The text was updated successfully, but these errors were encountered:
You're right, it would be good not to ignore this code in the examples. Feel free to modify the examples and open a PR, otherwise we'll get to it some time soon.
Hello everyone.
I'm wondering why there's a
status
tupled with the rpc response, as a return toClient.call
.All the examples end up matching the result with
As there are no examples showing a use case for this status, and all existing examples end up ignoring it, I am left wondering why it is given at all. Are there any cases where it is not the
OK
status? If so, which values can it be?The text was updated successfully, but these errors were encountered: