SofaBuffers TypeScript - v0.9.0
    Preparing search index...

    Function loadWasmKernel

    • Instantiate a WASM module and install the kernel it produces.

      Parameters

      • source: BufferSource | Response | PromiseLike<Response> | Module

        compiled-module bytes, a Response/stream, or a ready module.

      • factory: WasmKernelFactory

        wraps the instance exports into a Kernel.

      • imports: WebAssembly.Imports = {}

      Returns Promise<boolean>

      true once installed; throws only if instantiation itself fails.