wasm-rquickjs-cli 0.5.3

Tool for wrapping JavaScript modules as WebAssembly components using the QuickJS engine
1
2
3
4
5
6
7
8
9
export async function run() {
  // Exercise the async path: yield to the microtask queue, then return.
  await Promise.resolve();
  return "hello from p3";
}

export async function add(a, b) {
  return a + b;
}