Instance

open class Instance(module: Module, importObject: Imports = definedExternally)(source)

A WebAssembly.Instance object is a stateful, executable instance of a WebAssembly.Module.

MDN Reference

Constructors

Link copied to clipboard
constructor(module: Module, importObject: Imports = definedExternally)

Properties

Link copied to clipboard

The exports read-only property of the WebAssembly.Instance object prototype returns an object containing as its members all the functions exported from the WebAssembly module instance, to allow them to be accessed and used by JavaScript.