pub fn component_state(id: &Ustr) -> Result<ComponentState>Expand description
Returns the state of a component in the global registry.
ยงErrors
- Returns an error if the component is not found.
- Returns an error if the component is already borrowed.
pub fn component_state(id: &Ustr) -> Result<ComponentState>Returns the state of a component in the global registry.