API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classWasmFactory
AssetFactory implementation that loads WebAssembly binary (`.wasm`) files and produces a compiled WebAssembly.Module. The module is compiled but not instantiated — callers receive a reusable `WebAssembly.Module` that can be instantiated multiple times with different import objects via `new WebAssembly.Instance(module, imports)`.
import { WasmFactory } from '@codexo/exojs' AssetFactory implementation that loads WebAssembly binary (`.wasm`) files and produces a compiled WebAssembly.Module.
The module is compiled but not instantiated — callers receive a reusable `WebAssembly.Module` that can be instantiated multiple times with different import objects via `new WebAssembly.Instance(module, imports)`.
new(): WasmFactory create(source: ArrayBuffer): Promise<Module> createObjectUrl(blob: Blob): string destroy(): void process(response: Response): Promise<ArrayBuffer> revokeObjectUrl(objectUrl: string): void storageName: "wasm"