pub async fn get_cml_moniker_from_query(
query: &str,
realm_query: &RealmQueryProxy,
) -> Result<Moniker>
Expand description
Retrieves exactly one CML instance moniker that will match a given string query.
The string query can be a partial match on the following properties:
- component moniker
- component URL
- component instance ID
If more than one instance matches the query, an error is thrown. If no instance matches the query, an error is thrown.