instantiateStreaming method
Future<WebAssemblyInstantiatedSource>
instantiateStreaming(
- Object response, [
- dynamic importObject
The WebAssembly.instantiateStreaming()
function compiles and instantiates a
WebAssembly module directly from a streamed underlying source. This is the most
efficient, optimized way to load wasm code.
Implementation
_i2.Future<_i3.WebAssemblyInstantiatedSource> instantiateStreaming(
_i2.Object response, [
_i3.Imports? importObject,
]) =>
_i6.promiseToFuture(_i6.callMethod(
this,
'instantiateStreaming',
[
response,
importObject ?? _i7.undefined ?? _i7.undefined,
],
));