Since Wasm is synchronous, I’d say it should almost always be run in workers except if the module needs access to some main-thread-only API.
Since Wasm is synchronous, I’d say it should almost always be run in workers except if the module needs access to some main-thread-only API.