Skip to main content

install_package_modules_async

Function install_package_modules_async 

Source
pub async fn install_package_modules_async(
    linker: &mut Linker<StoreData>,
    store: &mut Store<StoreData>,
    packages: &[LinkedPackageModule<'_>],
) -> Result<()>
Expand description

Instantiates each linked package module, running its module-level initializers.

Every thread polling this future must meet RuntimeConfig::native_stack_size’s caller contract.