replace_external

Function replace_external 

Source
pub async fn replace_external(
    name: &RcStr,
    ty: ExternalType,
    import_externals: bool,
    analyze_mode: CachedExternalTracingMode,
) -> Result<Option<ModuleResolveResultItem>>
Expand description

Replaces the externals in the result with ExternalModuleAsset instances.