allsey87 / web-rpc

Bi-directional RPC for the Web
MIT License
7 stars 0 forks source link

Support references in RPC arguments #1

Open allsey87 opened 1 month ago

allsey87 commented 1 month ago

It is currently not possible to use references in RPC arguments. This is inefficient since regardless of whether the argument is a Javascript type or a serializable type, only a shared reference is necessary. This leads to a lot of unnecessary cloning.