The question is pretty much title. As example suppose i have `node_modules` which creates a WebSocket will say `ws` js is there a way i can pass it to the WASM and use it inside Rust code ? And is there a way to pass function from JS to Rust (callback). Thank you very much :)
The question is pretty much title.
As example suppose i have
node_moduleswhich creates a WebSocket will saywsjs is there a way i can pass it to the WASM and use it inside Rust code ?And is there a way to pass function from JS to Rust (callback).
Thank you very much :)