pub async fn create_child_component(
    child_name: &str,
    child_url: &str,
    collection_name: &str,
    realm: &RealmProxy
) -> Result<(), Error>
Expand description

Creates a child in the specified Realm.

Parameters

  • child_name: The name of the child to be added.
  • child_url: The component URL of the child to add.
  • collection_name: The name of the collection to which the child will be added.
  • realm: The Realm to which the child will be added.

Returns

Ok if the child is created successfully.