A function that returns the WASM module (or a promise for it). This is typically () => import("./wasm") pointing at the wasm-pack output.
() => import("./wasm")
Optional
Called if the WASM module fails to load. Defaults to console.error.
console.error
A function that returns the WASM module (or a promise for it). This is typically
() => import("./wasm")pointing at the wasm-pack output.