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
The arguments of RPC currently have to be either serializable or JsValue. Ideally, this restriction should be relaxed to allow composite types, e.g., an arbitrary struct or enum containing a JsValue to be sent across a channel, however, at a bare minimum it should be possible to have RPC calls that can return a Result<T, JsValue> since this pattern is used to represent exceptions from Javascript code.
The text was updated successfully, but these errors were encountered:
The arguments of RPC currently have to be either serializable or JsValue. Ideally, this restriction should be relaxed to allow composite types, e.g., an arbitrary struct or enum containing a JsValue to be sent across a channel, however, at a bare minimum it should be possible to have RPC calls that can return a
Result<T, JsValue>
since this pattern is used to represent exceptions from Javascript code.The text was updated successfully, but these errors were encountered: