/// Starts the component instance with the specified moniker. This has the following effects:
/// - Binds to the parent instance.
/// - Starts the component instance, if it is not already running and not shut down.
/// - Starts any descendant component instances that need to be eagerly started.
// TODO: This function starts the parent component, but doesn't track the bindings anywhere.
// This means that when the child stops and the parent has no other reason to run, we won't
// stop the parent. To solve this, we need to track the bindings.
Starts the component instance with the specified moniker. This has the following effects:
Binds to the parent instance.
Starts the component instance, if it is not already running and not shut down.
Starts any descendant component instances that need to be eagerly started.
TODO: This function starts the parent component, but doesn't track the bindings anywhere.
This means that when the child stops and the parent has no other reason to run, we won't
stop the parent. To solve this, we need to track the bindings.
Starts the component instance with the specified moniker . This has the following effects : Binds to the parent instance . Starts the component instance if it is not already running and not shut down . Starts any descendant component instances that need to be eagerly started . TODO : This function starts the parent component but doesn ' t track the bindings anywhere . This means that when the child stops and the parent has no other reason to run we won ' t stop the parent . To solve this we need to track the bindings .
async fn start_instance<'a>(
        &'a self,
        abs_moniker: &'a AbsoluteMoniker,
        reason: &'a StartReason,
    ) -> Result<Arc<ComponentInstance>, ModelError> {
        start_moniker(self, abs_moniker, reason).await
    }
async fn start_instance < ' a > ( & ' a self , abs_moniker : & ' a AbsoluteMoniker , reason : & ' a StartReason , ) -> Result < Arc < ComponentInstance > , ModelError > { start_moniker ( self , abs_moniker , reason ) . await }
Starts the component instance with the specified moniker.
Starts the component instance with the specified moniker .
&'a self
abs_moniker
&'a AbsoluteMoniker
reason
&'a StartReason