• Initialize the wasm module

    Remarks

    If you are using the /slim subpath export then this function must be called before any other functions in the library. If you are using any of the other subpath exports then it will have already been called for you.

    Parameters

    • wasmBlob: string | Uint8Array | Request | Promise<Uint8Array>

      The wasm module as a Uint8Array, Request, Promise or string. If this argument is a string then it is assumed to be a URL and the library will attempt to fetch the wasm module from that URL.

    Returns Promise<void>

Generated using TypeDoc