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

Creates a (lazy) child in the specified Realm.


  • 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.
  • create_child_args: Extra arguments passed to Realm.CreateChild.
  • realm: The Realm to which the child will be added.


Ok if the child is created successfully.