We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example, if we modify the function import example and make getCount async.
getCount
;; main.wat --> main.wasm (module (import "./counter.js" "getCount" (func $getCount (func (result i32)))) )
// counter.js async function getCount() { const response = await fetch('//api/get-count'); ... return count; } export {getCount};
Given existing behaviour, it would crash at runtime. But should we do better?
Should this rely on or interact with https://github.com/WebAssembly/js-promise-integration?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For example, if we modify the function import example and make
getCount
async.Given existing behaviour, it would crash at runtime. But should we do better?
Should this rely on or interact with https://github.com/WebAssembly/js-promise-integration?
The text was updated successfully, but these errors were encountered: