WebAssembly.instantiateStreaming
E127203
WebAssembly.instantiateStreaming is a JavaScript API function that compiles and instantiates a WebAssembly module directly from a streamed source, such as a fetch response, for efficient loading and execution in the browser.
All labels observed (1)
| Label | Occurrences |
|---|---|
| WebAssembly.instantiateStreaming canonical | 5 |
How this entity was disambiguated
This entity first appeared as the object of triple T1103210 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: WebAssembly.instantiateStreaming Context triple: [WebAssembly JavaScript Interface, definesFunction, WebAssembly.instantiateStreaming]
-
A.
WebAssembly JavaScript Interface
The WebAssembly JavaScript Interface is the standard API that defines how JavaScript code interacts with and controls WebAssembly modules within web browsers and other host environments.
-
B.
WebAssembly System Interface
The WebAssembly System Interface (WASI) is a modular, portable set of system APIs that allows WebAssembly programs to interact safely and consistently with operating system features like files, networking, and clocks across different platforms.
-
C.
WebAssembly specification
The WebAssembly specification is a standardized, low-level binary instruction format designed to enable high-performance, portable code execution on the web and other platforms.
-
D.
Deno
Deno is a modern, secure JavaScript and TypeScript runtime created by Ryan Dahl as a successor to Node.js, featuring built-in TypeScript support and a permission-based security model.
-
E.
WebRTC
WebRTC is an open web technology that enables real-time audio, video, and data communication directly between browsers and devices without requiring plugins.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: WebAssembly.instantiateStreaming Target entity description: WebAssembly.instantiateStreaming is a JavaScript API function that compiles and instantiates a WebAssembly module directly from a streamed source, such as a fetch response, for efficient loading and execution in the browser.
-
A.
WebAssembly JavaScript Interface
The WebAssembly JavaScript Interface is the standard API that defines how JavaScript code interacts with and controls WebAssembly modules within web browsers and other host environments.
-
B.
WebAssembly System Interface
The WebAssembly System Interface (WASI) is a modular, portable set of system APIs that allows WebAssembly programs to interact safely and consistently with operating system features like files, networking, and clocks across different platforms.
-
C.
WebAssembly specification
The WebAssembly specification is a standardized, low-level binary instruction format designed to enable high-performance, portable code execution on the web and other platforms.
-
D.
Deno
Deno is a modern, secure JavaScript and TypeScript runtime created by Ryan Dahl as a successor to Node.js, featuring built-in TypeScript support and a permission-based security model.
-
E.
WebRTC
WebRTC is an open web technology that enables real-time audio, video, and data communication directly between browsers and devices without requiring plugins.
- F. None of above. chosen
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
JavaScript function
ⓘ
WebAssembly JavaScript API feature ⓘ |
| advantageOver |
WebAssembly.instantiate
ⓘ
surface form:
WebAssembly.instantiate with ArrayBuffer-based workflows
|
| asynchronous | true ⓘ |
| availableIn |
secure contexts
ⓘ
web browsers ⓘ |
| belongsToNamespace |
WebAssembly specification
ⓘ
surface form:
WebAssembly
|
| canBePolyfilledBy | fetch + WebAssembly.instantiate with ArrayBuffer ⓘ |
| canFailWith |
CompileError
ⓘ
WebAssembly.LinkError ⓘ
surface form:
LinkError
NetworkError ⓘ TypeError ⓘ |
| category | Web performance API ⓘ |
| definedIn |
WebAssembly JavaScript Interface
ⓘ
surface form:
WebAssembly JavaScript API
|
| errorCondition | non-wasm MIME type when strict MIME checking is enforced ⓘ |
| executionEnvironment |
Web workers
ⓘ
surface form:
Web Workers
main thread in browsers ⓘ |
| introducedFor |
efficient loading of WebAssembly modules
ⓘ
streaming compilation of WebAssembly modules ⓘ streaming instantiation of WebAssembly modules ⓘ |
| optimizedFor |
network streaming of .wasm binaries
ⓘ
reduced startup time for WebAssembly modules ⓘ |
| parameter |
importObject
ⓘ
source ⓘ |
| parameterType |
importObject: object
ⓘ
source: Promise<Response> or Response ⓘ |
| partOf |
WebAssembly specification
ⓘ
surface form:
WebAssembly
WebAssembly JavaScript Interface ⓘ
surface form:
WebAssembly API
WebAssembly JavaScript Interface ⓘ
surface form:
WebAssembly JavaScript API
|
| relatedFunction |
WebAssembly.compileStreaming
ⓘ
WebAssembly.instantiate ⓘ |
| requires |
WebAssembly support in the environment
ⓘ
correct WebAssembly MIME type such as application/wasm ⓘ |
| returns | Promise ⓘ |
| returnsType | Promise<{ module: WebAssembly.Module, instance: WebAssembly.Instance }> ⓘ |
| returnValueIncludes |
WebAssembly.Instance
ⓘ
WebAssembly.Module ⓘ |
| securityConsideration | subject to same-origin and CORS policies ⓘ |
| specifiedIn |
WebAssembly JavaScript Interface
ⓘ
surface form:
WebAssembly JavaScript Interface specification
|
| status | widely supported in modern browsers ⓘ |
| supports |
compiling WebAssembly modules from a streamed source
ⓘ
instantiating WebAssembly modules from a streamed source ⓘ parallel network fetching and compilation ⓘ using ReadableStream of bytes as input ⓘ using fetch Response objects as input ⓘ |
| typicalInput | HTTP(S) response containing a .wasm binary ⓘ |
| usageExample | WebAssembly.instantiateStreaming(fetch('module.wasm'), importObject) ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: WebAssembly.instantiateStreaming Description of subject: WebAssembly.instantiateStreaming is a JavaScript API function that compiles and instantiates a WebAssembly module directly from a streamed source, such as a fetch response, for efficient loading and execution in the browser.
Referenced by (5)
Full triples — surface form annotated when it differs from this entity's canonical label.