pub async fn add_legacy_child(
        &self,
        name: impl Into<String>,
        legacy_url: impl Into<String>,
        options: ChildOptions,
    ) -> Result<ChildRef, Error> {
        self.root_realm.add_legacy_child(name, legacy_url, options).await
    }
/// Adds a new legacy component to the realm
Adds a new legacy component to the realm
Adds a new legacy component to the realm
pub async fn add_legacy_child(
        &self,
        name: impl Into<String>,
        legacy_url: impl Into<String>,
        options: ChildOptions,
    ) -> Result<ChildRef, Error> {
        self.root_realm.add_legacy_child(name, legacy_url, options).await
    }
pub async fn add_legacy_child ( & self , name : impl Into < String > , legacy_url : impl Into < String > , options : ChildOptions , ) -> Result < ChildRef , Error > { self . root_realm . add_legacy_child ( name , legacy_url , options ) . await }
Adds a new legacy component to the realm
Adds a new legacy component to the realm
&self
name
impl Into<String>
legacy_url
impl Into<String>
options
ChildOptions
&self
name
impl Into<String>
legacy_url
impl Into<String>
options
ChildOptions