mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
implement background message handler (worker)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use relm4::RelmComponent;
|
||||
use relm4::RelmMsgHandler;
|
||||
use relm4::Sender;
|
||||
|
||||
use self::{
|
||||
@@ -6,6 +7,7 @@ use self::{
|
||||
};
|
||||
|
||||
use super::app::model::AppModel;
|
||||
use super::app::workers::AsyncHandler;
|
||||
|
||||
pub mod toolbox_apps;
|
||||
pub mod toolbox_settings;
|
||||
@@ -14,4 +16,5 @@ pub mod toolbox_settings;
|
||||
pub struct AppComponents {
|
||||
pub toolbox_settings_dialog: RelmComponent<ToolboxSettingsDialogModel, AppModel>,
|
||||
pub toolbox_apps_dialog: RelmComponent<ToolboxAppDialogModel, AppModel>,
|
||||
pub async_handler: RelmMsgHandler<AsyncHandler, AppModel>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user