allsey87 / web-rpc

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

Support references in RPC arguments #1

Open allsey87 opened 6 days ago

allsey87 commented 6 days 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.