@automerge/automerge - v3.0.0
    Preparing search index...

    Function initializeWasm

    • Initialize the wasm module

      Parameters

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

        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>

      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.