Skip to main content

pacenotes_installer/
worker.rs

1//! The one background thread. A worker never touches a control: it posts
2//! messages and the UI thread acts on them.
3
4mod apply_selection;
5mod channel;
6mod download_run;
7mod install_run;
8mod message;
9mod restore_run;
10mod server_checks;
11
12pub use channel::{spawn, spawn_reporting, take, take_progress, Reporter};
13pub use download_run::{run_download, DownloadJob};
14pub use install_run::{run_install, InstallJob};
15pub use message::{
16    Applied, Fetched, Message, NotDownloaded, Outcome, Phase, Progress, SecretOutcome,
17    WM_WORKER_DONE, WM_WORKER_PROGRESS,
18};
19pub use restore_run::{run_restore, RestoreJob};
20pub use server_checks::{check_health, check_secret, fetch_motd, fetch_packages};