WebAssembly.Instance
E548571
WebAssembly.Instance is a JavaScript object representing a live, executable WebAssembly module with its associated state and exported functions.
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf |
JavaScript constructor
ⓘ
WebAssembly API interface ⓘ |
| availableIn |
Node.js
NERFINISHED
ⓘ
Web browsers ⓘ |
| canBeCreatedBy |
WebAssembly.instantiate returning { module, instance }
ⓘ
WebAssembly.instantiateStreaming returning { module, instance } ⓘ |
| category | low-level binary code execution interface ⓘ |
| constructorSignature | new WebAssembly.Instance(module, importObject) ⓘ |
| definedIn | WebAssembly JavaScript API NERFINISHED ⓘ |
| enables |
calling WebAssembly exports from JavaScript
ⓘ
sharing memory between JavaScript and WebAssembly ⓘ using WebAssembly tables from JavaScript ⓘ |
| exportsContains |
exported WebAssembly functions
ⓘ
exported WebAssembly globals ⓘ exported WebAssembly memories ⓘ exported WebAssembly tables ⓘ |
| hasAssociated |
exports
ⓘ
state ⓘ |
| hasInternal |
global variable state
ⓘ
memory state ⓘ module state ⓘ table state ⓘ |
| hasNo | direct method to access underlying bytecode ⓘ |
| hasProperty | exports ⓘ |
| hasPrototype | WebAssembly.Instance.prototype ⓘ |
| introducedIn | ECMAScript WebAssembly integration NERFINISHED ⓘ |
| isSynchronous | true ⓘ |
| language | JavaScript NERFINISHED ⓘ |
| lifecycle | lives as long as referenced by JavaScript ⓘ |
| mayRun | start function on instantiation ⓘ |
| moduleRelationship | is bound to a single WebAssembly.Module ⓘ |
| optionalArgument | importObject ⓘ |
| propertyType | exports is an object ⓘ |
| prototypeProperty | constructor ⓘ |
| relatedTo |
WebAssembly.instantiate
NERFINISHED
ⓘ
WebAssembly.instantiateStreaming NERFINISHED ⓘ |
| represents | live executable WebAssembly module ⓘ |
| requiresArgument | WebAssembly.Module NERFINISHED ⓘ |
| securityContext | same origin as creating script ⓘ |
| specDocument | WebAssembly JavaScript Interface specification NERFINISHED ⓘ |
| standardizedBy | W3C WebAssembly Working Group NERFINISHED ⓘ |
| subjectTo | WebAssembly sandboxing rules ⓘ |
| throwsOnError |
LinkError on import resolution failure
ⓘ
RuntimeError on start function trap ⓘ TypeError if module is not a WebAssembly.Module ⓘ |
| usedFor | instantiating a WebAssembly module synchronously ⓘ |
Referenced by (3)
Full triples — surface form annotated when it differs from this entity's canonical label.