@lelantos-org/sdk / prover / preloadWasm
Function: preloadWasm()
ts
function preloadWasm(opts?): Promise<void>;Defined in: @lelantos-org/sdk/dist/prover/preload.d.ts:17
Build all WASM modules used by the SDK. Resolves once they are ready.
Optional: connect() warms eagerly by default. Call directly to control when the cost is paid (e.g. behind a splash screen or on a route transition). Idempotent; a later connect() reuses the built modules.
Parameters
| Parameter | Type |
|---|---|
opts? | PreloadOpts |
Returns
Promise<void>