/// 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.has_legacy_children.lock().await = true;
        let name: String = name.into();
        self.realm_proxy.add_legacy_child(&name, &legacy_url.into(), options.into()).await??;
        Ok(ChildRef::new(name, self.realm_path.clone()))
    }
pub async fn add_legacy_child ( & self , name : impl Into < String > , legacy_url : impl Into < String > , options : ChildOptions , ) -> Result < ChildRef , Error > { * self . has_legacy_children . lock ( ) . await = true ; let name : String = name . into ( ) ; self . realm_proxy . add_legacy_child ( & name , & legacy_url . into ( ) , options . into ( ) ) . await ? ? ; Ok ( ChildRef :: new ( name , self . realm_path . clone ( ) ) ) }
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