WasmInstance<TExports>
An instantiated module with typed exports.
Import:
import type { WasmInstance } from '@mnaoumov/obsidian-lib/wasm';Signature:
export interface WasmInstance<TExports extends WebAssembly.Exports>Properties
| Property | Type | Description |
|---|---|---|
| exports | TExports | The instance's exports. |
| instance | WebAssembly.Instance | The instance. |
| module | WebAssembly.Module | The compiled module, reusable for more instances and passable to a worker. |
Links to this page: