Function load_module

Source
pub async fn load_module(
    engine: &Engine,
    module_cache: &(dyn ModuleCache + Send + Sync),
    input: ModuleInput<'_>,
    on_progress: Option<ModuleLoadProgressReporter>,
) -> Result<Module, SpawnError>
Expand description

Load a a Webassembly module, trying to use a pre-compiled version if possible.