Removes external connectWithRetryRuns

This commit is contained in:
riccardom
2026-06-17 08:52:02 +02:00
parent 91d2d341b7
commit 0085aebf77
4 changed files with 71 additions and 317 deletions
+7
View File
@@ -95,6 +95,13 @@ func (c *ConnectClient) Run(config *profilemanager.Config, md metadata.MD, runni
return c.sup.start(config, md, MobileDependency{}, runningChan, logPath)
}
// RunAsync starts a client run without blocking. done (if non-nil, buffered)
// receives the run's end result. Used by the daemon, which drives the lifecycle
// through the supervisor (Run/Stop/IsRunning) rather than blocking on Run.
func (c *ConnectClient) RunAsync(config *profilemanager.Config, md metadata.MD, runningChan chan struct{}, done chan error) {
c.sup.startAsync(config, md, MobileDependency{}, runningChan, "", done)
}
// RunOnAndroid with main logic on mobile system
func (c *ConnectClient) RunOnAndroid(
config *profilemanager.Config,