wasm.li

<script type=module>
  import * as Comlink  from '//wasm.li/link.js';
  import      { init } from '//wasm.li/init.js';
  window.acme = init('acme',  async () => {

    // You are here in the main, DOM thread.
    // All access is proxied to WASM worker.
    console.log(await acme.version);

  });
</script>
/* The module is running in a web worker!
    */

ยฉ๏ธ 2021 โ€“ PDF.ist.

wasm.li/acme

async proxy async proxy Examples ๐Ÿ“„๐Ÿ” SGN