sycamore::web::js_sys::WebAssembly

Function compile_streaming

source
pub fn compile_streaming(response: &Promise) -> Promise
Expand description

The WebAssembly.compileStreaming() function compiles a WebAssembly.Module module directly from a streamed underlying source. This function is useful if it is necessary to a compile a module before it can be instantiated (otherwise, the WebAssembly.instantiateStreaming() function should be used).

MDN documentation