pub async fn start_instance_with_args(
lifecycle_controller: &LifecycleControllerProxy,
moniker: &Moniker,
arguments: StartChildArgs,
) -> Result<BoxFuture<'static, Result<(), Error>>, StartError>
Expand description
Uses the fuchsia.sys2.LifecycleController
protocol to start a component instance
with the given moniker
.
Returns a future that can be waited on to know when the component instance has stopped.