pub fn start_connection(app: &App, cli: &Cli, launchers: Vec<AdapterLauncher>)Expand description
Spawn the background connection task. Uses spawn_local so it runs on the
same LocalSet as the TUI - Rc<Connection> stays on one thread.
On success, stores the connection in app.conn via a shared slot and sends
ClientEvent::Connected. On auth error, sends ClientEvent::AuthRequired.
On failure, sends ClientEvent::ConnectionFailed.