Skip to main content

instantiate_streaming_with_options

Function instantiate_streaming_with_options 

Source
pub fn instantiate_streaming_with_options(
    response: &JsValue,
    imports: &Object,
    options: &CompileOptions,
) -> Promise<InstantiatedSource>
Expand description

The WebAssembly.instantiateStreaming() function compiles and instantiates a module from a streamed Response under the given compile options, resolving to an InstantiatedSource.

MDN documentation