Skip to main content

Module worker

Module worker 

Source
Expand description

The one background thread. A worker never touches a control: it posts messages and the UI thread acts on them.

Re-exportsยง

pub use channel::spawn;
pub use channel::spawn_reporting;
pub use channel::take;
pub use channel::take_progress;
pub use channel::Reporter;
pub use download_run::run_download;
pub use download_run::DownloadJob;
pub use install_run::run_install;
pub use install_run::InstallJob;
pub use message::Applied;
pub use message::Fetched;
pub use message::Message;
pub use message::NotDownloaded;
pub use message::Outcome;
pub use message::Phase;
pub use message::Progress;
pub use message::SecretOutcome;
pub use message::WM_WORKER_DONE;
pub use message::WM_WORKER_PROGRESS;
pub use restore_run::run_restore;
pub use restore_run::RestoreJob;
pub use server_checks::check_health;
pub use server_checks::check_secret;
pub use server_checks::fetch_motd;
pub use server_checks::fetch_packages;

Modulesยง

apply_selection ๐Ÿ”’
channel ๐Ÿ”’
download_run ๐Ÿ”’
install_run ๐Ÿ”’
message ๐Ÿ”’
restore_run ๐Ÿ”’
server_checks ๐Ÿ”’