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

Function instantiate_module

Source
pub fn instantiate_module(module: &Module, imports: &Object) -> Promise
Available on crate feature dep_web_sys only.
Expand description

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

MDN documentation