ali4864

Results 3 comments of ali4864

@tlively The generated JavaScript file without `-sASYNCIFY=2` argument will not work because of the promises! and by using `-sASYNCIFY=2` our code will not be production-ready, indeed `emcc` give `emcc: warning:...

I think the problem is as the follow: `parentHandle` is undefined! ``` async function wasmfsOPFSGetOrCreateFile(parent, name, create) { let parentHandle = wasmfsOPFSDirectoryHandles.get(parent); let fileHandle; try { fileHandle = await parentHandle.getFileHandle(name,...

> Do you have a small example that reproduces the problem? A sample for reproducing the problem: test.cpp ``` #include #include #include using namespace std; int main(int argc, char const...