devela::_dep::web_sys::js_sys::WebAssembly

Function instantiate_streaming

Source
pub fn instantiate_streaming(response: &Promise, imports: &Object) -> Promise
Available on crate feature dep_web_sys only.
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