Instance

package js.lib.webassembly

Available on js

A WebAssembly Instance object is a stateful, executable instance of a WebAssembly Module. Instance objects contain all the Exported WebAssembly functions that allow calling into WebAssembly code from JavaScript.

Documentation Instance by Mozilla Contributors, licensed under CC-BY-SA 2.5.

Constructor

new(module:Module, ?importObject:{})

Variables

read onlyexports:Dynamic<Function>

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.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/webassembly/Instance.html