Skip to main content

spawn_background_tasks

Function spawn_background_tasks 

Source
pub(crate) fn spawn_background_tasks(
    ctx: Arc<AppContext>,
    rx: Receiver<MonitorEvent>,
    manual_sync_rx: UnboundedReceiver<()>,
    background_sync_enabled: bool,
)
Expand description

Start the file-event loop, catch-up scan, album reconciler, status check, and manual sync listener.