WebAssembly.instantiate

E127480

WebAssembly.instantiate is a JavaScript API function that compiles and instantiates WebAssembly modules, returning ready-to-use module instances and their exported functions.

All labels observed (4)

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf JavaScriptFunction ⓘ
WebAssemblyAPI ⓘ
acceptsType ArrayBuffer ⓘ
ArrayBufferView ⓘ
WebAssembly.Module ⓘ
asynchronous true ⓘ
availableIn Node.js ⓘ
WebBrowser ⓘ
canBeUsedFor accessing WebAssembly exports from JavaScript ⓘ
compiling WebAssembly binaries at runtime ⓘ
loading WebAssembly modules dynamically ⓘ
compilesModule true ⓘ
definedIn WebAssembly ⓘ
errorCondition invalid WebAssembly binary format ⓘ
linking failure ⓘ
runtime initialization failure ⓘ
hasOverload WebAssembly.instantiate(bufferSource, importObject) ⓘ
WebAssembly.instantiate(moduleObject, importObject) ⓘ
instantiatesModule true ⓘ
introducedIn WebAssembly MVP ⓘ
isPreferredOver WebAssembly.instantiateStreaming when streaming is not available ⓘ
parameter bufferSource ⓘ
importObject ⓘ
moduleObject ⓘ
partOf WebAssembly JavaScript API ⓘ
relatedFunction WebAssembly.Module ⓘ
WebAssembly.compile ⓘ
WebAssembly.instantiateStreaming ⓘ
returnProperty instance ⓘ
module ⓘ
returns Promise ⓘ
Promise<InstantiateResult> ⓘ
Promise<WebAssembly.Instance> ⓘ
returnTypeForBufferOverload WebAssembly.InstantiateResult ⓘ
returnTypeForModuleOverload WebAssembly.Instance ⓘ
securityContext subject to same-origin policy for fetched binaries ⓘ
specifiedIn WebAssembly JavaScript Interface Specification ⓘ
standardizedBy ECMAScript ⓘ
supportsFeature imported functions ⓘ
imported globals ⓘ
imported memories ⓘ
imported tables ⓘ
supportsStreamingCompilation false ⓘ
throws WebAssembly.CompileError ⓘ
WebAssembly.LinkError ⓘ
WebAssembly.RuntimeError ⓘ
typicalUsage WebAssembly.instantiate(bytes, imports).then(callback) ⓘ
usesCompilationPipeline WebAssembly.compile ⓘ

How these facts were elicited

Referenced by (12)

Full triples — surface form annotated when it differs from this entity's canonical label.

WebAssembly JavaScript Interface → definesInteractionBetween → WebAssembly modules ⓘ
linked to: WebAssembly.instantiate
WebAssembly JavaScript Interface → definesFunction → WebAssembly.instantiate ⓘ
WebAssembly.LinkError → thrownBy → WebAssembly.instantiate ⓘ
WebAssembly.instantiateStreaming → advantageOver → WebAssembly.instantiate with ArrayBuffer-based workflows ⓘ
linked to: WebAssembly.instantiate
WebAssembly.instantiateStreaming → relatedFunction → WebAssembly.instantiate ⓘ
WebAssembly.RuntimeError → usedWith → WebAssembly.instantiate ⓘ
WebAssembly.instantiate → returnTypeForBufferOverload → WebAssembly.InstantiateResult ⓘ
linked to: WebAssembly.instantiate
WebAssembly.compileStreaming → usedWith → WebAssembly.instantiate ⓘ
WebAssembly.compile → canBeUsedWith → WebAssembly.instantiate ⓘ
WebAssembly.compile → relatedFunction → WebAssembly.instantiate ⓘ
WebAssembly.Module → instantiatedBy → WebAssembly.instantiate ⓘ
WebAssembly.Instance → relatedTo → WebAssembly.instantiate ⓘ