Skip to main content

start_primary_instance

Function start_primary_instance 

Source
pub(crate) fn start_primary_instance(
    app: &Application,
    shared_state: &Arc<Mutex<AppState>>,
)
Expand description

Set up config, API client, queue, monitor, tray, and background tasks. Runs only in the primary instance, from connect_startup.