WebAssembly.Module
E544640
WebAssembly.Module is a JavaScript object representing a compiled WebAssembly binary that can be efficiently instantiated and executed in web or other host environments.
Statements (51)
| Predicate | Object |
|---|---|
| instanceOf |
JavaScript constructor
ⓘ
WebAssembly API interface ⓘ |
| associatedWith | WebAssembly.Instance NERFINISHED ⓘ |
| availableInEnvironment |
Deno
NERFINISHED
ⓘ
Node.js NERFINISHED ⓘ Other JavaScript runtimes ⓘ Web browsers NERFINISHED ⓘ |
| canBe | shared across multiple WebAssembly.Instance objects ⓘ |
| canBeCreatedBy |
WebAssembly.compile(bufferSource)
ⓘ
WebAssembly.compileStreaming(response) ⓘ new WebAssembly.Module(bufferSource) ⓘ |
| canContain |
Custom sections
ⓘ
Export definitions ⓘ Function definitions ⓘ Import definitions ⓘ Memory and table definitions ⓘ |
| constructorOf | WebAssembly.Module instances ⓘ |
| definedInSpecification | WebAssembly JavaScript API NERFINISHED ⓘ |
| errorTypeOnFailure | WebAssembly.CompileError NERFINISHED ⓘ |
| hasNo | prototype methods for runtime behavior ⓘ |
| hasStaticMethod |
WebAssembly.Module.compile
NERFINISHED
ⓘ
WebAssembly.Module.compileStreaming ⓘ WebAssembly.Module.customSections ⓘ WebAssembly.Module.exports NERFINISHED ⓘ WebAssembly.Module.imports NERFINISHED ⓘ |
| inputType |
ArrayBuffer
ⓘ
ArrayBufferView ⓘ BufferSource ⓘ Response (for compileStreaming) ⓘ |
| instantiatedBy |
WebAssembly.Instance constructor
NERFINISHED
ⓘ
WebAssembly.instantiate NERFINISHED ⓘ WebAssembly.instantiateStreaming NERFINISHED ⓘ |
| introducedIn | Early versions of WebAssembly in browsers ⓘ |
| is | immutable after creation ⓘ |
| language | JavaScript NERFINISHED ⓘ |
| lifecyclePhase | Compilation phase of WebAssembly execution ⓘ |
| namespace | WebAssembly global object NERFINISHED ⓘ |
| operatesOn | WebAssembly binary format (.wasm) NERFINISHED ⓘ |
| optimizedFor | Fast instantiation ⓘ |
| relatedConcept |
WebAssembly binary encoding
NERFINISHED
ⓘ
WebAssembly text format (wat) NERFINISHED ⓘ |
| represents | Compiled WebAssembly binary ⓘ |
| returnsType | Promise<WebAssembly.Module> ⓘ |
| securityContext | Subject to same-origin and CSP rules in browsers ⓘ |
| standardizedBy | W3C WebAssembly Community Group NERFINISHED ⓘ |
| supports |
Extraction of custom sections
ⓘ
Inspection of module exports ⓘ Inspection of module imports ⓘ |
| usedFor |
Efficient instantiation of WebAssembly instances
ⓘ
Executing WebAssembly in host environments ⓘ Reusing compiled WebAssembly code ⓘ |
Referenced by (5)
Full triples — surface form annotated when it differs from this entity's canonical label.