pub async fn replace_external(
name: &RcStr,
ty: ExternalType,
additional_refs: Vec<Vc<Box<dyn ModuleReference>>>,
import_externals: bool,
) -> Result<Option<ModuleResolveResultItem>>
Expand description
Replaces the externals in the result with ExternalModuleAsset
instances.