@lelantos-org/sdk / prover / WasmLoaderOverride
Interface: WasmLoaderOverride<M>
Defined in: @lelantos-org/sdk/dist/runtime/wasm/loader.d.ts:6
Type Parameters
| Type Parameter |
|---|
M extends WasmModuleBase |
Properties
wasm?
ts
optional wasm?: string | URL | BufferSource;Defined in: @lelantos-org/sdk/dist/runtime/wasm/loader.d.ts:12
URL or bytes for the .wasm binary. If omitted, auto-init fetches relative to the JS module.
Methods
loadModule()
ts
loadModule(): Promise<M>;Defined in: @lelantos-org/sdk/dist/runtime/wasm/loader.d.ts:8
Return the wasm-pack JS module.
Returns
Promise<M>