Skip to main content

instantiate_streaming

Function instantiate_streaming 

Source
pub fn instantiate_streaming(
    response: &JsValue,
    imports: &Object,
) -> Promise<JsValue>
Expand description

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 documentation