import { type LoaderOptions } from "https://deno.land/x/wasmbuild@0.15.0/loader.ts";
Properties
imports: WebAssembly.Imports | undefined
The Wasm module's imports.
optional
cache: (url: URL, decompress: DecompressCallback | undefined) => Promise<URL | Uint8Array>A function that caches the Wasm module to a local path so that so that a network request isn't required on every load.
Returns an ArrayBuffer with the bytes on download success, but cache save failure.