You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the WebAssembly part is loaded synchronously:
const mod = new WebAssembly.Module(binary);
const instance = new WebAssembly.Instance(mod, imports);
This results in the following error: WebAssembly.Compile is disallowed on the main thread, if the buffer size is larger than 4KB. Use WebAssembly.compile, or compile on a worker thread.
However the async version of the methods cannot be run on the top-level file AFAIK.
Any ideas how to fix this?