instantiateStreaming method

Future<WebAssemblyInstantiatedSource> instantiateStreaming(
  1. Object response, [
  2. 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.

MDN

Implementation

_i2.Future<_i3.WebAssemblyInstantiatedSource> instantiateStreaming(
  _i2.Object response, [
  _i3.Imports? importObject,
]) =>
    _i6.promiseToFuture(_i6.callMethod(
      this,
      'instantiateStreaming',
      [
        response,
        importObject ?? _i7.undefined ?? _i7.undefined,
      ],
    ));