rmapi-js
    Preparing search index...

    Function init

    • load the core's WebAssembly module, which every other export needs first

      Only rmapi-js/lazy needs this; rmapi-js calls it on import. Calls after the first share its load, and a load that failed can be tried again.

      Parameters

      • source: WasmSource

        the .wasm file, as a url to fetch or its bytes; the package ships it as rmapi-js/wasm

      Returns Promise<void>