sycamore::web::js_sys::WebAssembly

Function instantiate_module

source
pub fn instantiate_module(module: &Module, imports: &Object) -> Promise
Expand description

The WebAssembly.instantiate() function allows you to compile and instantiate WebAssembly code.

MDN documentation