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
.
§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.create_child_args
: Extra arguments passed toRealm.CreateChild
.realm
: TheRealm
to which the child will be added.
§Returns
Ok
if the child is created successfully.