webtau API
    Preparing search index...

    Interface WebtauConfig

    interface WebtauConfig {
        loadWasm: () => Promise<WasmModule>;
        onLoadError?: (error: unknown) => void;
    }
    Index

    Properties

    loadWasm: () => Promise<WasmModule>

    A function that returns the WASM module (or a promise for it). This is typically () => import("./wasm") pointing at the wasm-pack output.

    onLoadError?: (error: unknown) => void

    Called if the WASM module fails to load. Defaults to console.error.