Skip to main content

stop_component

Function stop_component 

Source
pub fn stop_component(id: &Ustr) -> Result<()>
Expand description

Safely calls stop() on a component in the global registry.

ยงErrors

Returns an error if:

  • The component is not found.
  • The component is already borrowed.
  • stop() fails.