pub async fn load_module(
engine: &Engine,
module_cache: &(dyn ModuleCache + Send + Sync),
wasm: &[u8],
wasm_hash: ModuleHash,
) -> Result<Module, SpawnError>
Expand description
Load a a Webassembly module, trying to use a pre-compiled version if possible.