3 ms·
How do you do inter-process communication then? Why not do async in the same wasm unit?
by sshine 3y ago
How do you do inter-process communication then?
Why not do async in the same wasm unit?
- baudaux 3y agoInterprocess communication is done via Broadcast channel. It is simpler I think to have one iframe per process. Then it can support pthread
- sshine 3y ago> via Broadcast channel As in via a websocket over a backend?
- bradleyishungry 3y agoprobably just regular iframe postmessages through a channel
- baudaux 3y agohttps://docs.w3cub.com/dom/broadcastchannel https://docs.w3cub.com/dom/broadcastchannel