Hi!
Two ways I can think of:
1st way: using a JS bridge:
===========================
```
window.bmethodwrapper = (x) => {return B.wasm.bmethod(x,...);};
A.wasm.call('Amethod', window.bmethodwrapper);
```
2nd way: compiling both libraries into the same AandB.wasm:
===========================================================
as an amalgamated source.
--
Shlomi Fish
https://www.shlomifish.org/
List of Networking Clients -
https://shlom.in/net-clients
I before E, except after C. We live in a weird society.
— Source unknown, via Nadav Har’El.
Please reply to list if it's a mailing list post -
https://shlom.in/reply .