-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloudflare + QJS + async module loader. #188
Comments
The type error is confusing because it seems like there are two copies of
Is it possible there are two incompatible versions of the quickjs-emscripten packages installed and being mixed together? I'm not sure how I am more interested in a runtime error, you say:
I would like to know what you mean by "it doesn't work". |
Module evaluation always returns a module or a promise of a module. You will need to set a global variable you can read later, call an injected callback function, or export the result from the module to retrieve the value |
Hello, I am struggling making async module loader when using QJS on CF. I need setModuleLoader to be async, but this requires ASYNCified WASM build as far as I understood. When trying this, I am getting TS error (also it doesn't work after ts-ignore):
error:
Code above was working fine when it used SYNC versions of builds:
Is it possible to run such thing on CF or not?
Thanks a lot for such a great project anyway!
The text was updated successfully, but these errors were encountered: