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
I would like to request support for this function in react-native-webassembly to replace the following code in my project:
// threadman.jsimport*asWebAssemblyfrom"react-native-webassembly";
...
exportdefaultasyncfunctionbuildThreadManager(wasm,singleThread){consttm=newThreadManager();tm.memory=newWebAssembly.Memory({initial: MEM_SIZE});// This line uses the compile functionconstwasmModule=awaitWebAssembly.compile(wasm.code);tm.instance=awaitWebAssembly.instantiate(wasmModule,{env: {memory: tm.memory,},});}
Thank you so much! 🤩
The text was updated successfully, but these errors were encountered:
Issue Description
I am trying to rebuild ffjavascript to run on React Native, and I need the
compile
function to be supported inreact-native-webassembly
.Currently, the WebAssembly in browser engine supports the
compile
function, which accepts abytes
parameter and returns aPromise<Module>
.I would like to request support for this function in
react-native-webassembly
to replace the following code in my project:Thank you so much! 🤩
The text was updated successfully, but these errors were encountered: