summaryrefslogtreecommitdiffstats
path: root/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/application.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/application.rs b/src/application.rs
index 3a526f1b..926a2986 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -233,6 +233,7 @@ where
A: Application,
{
type Message = A::Message;
+ type Executor = A::Executor;
fn new() -> (Self, Command<A::Message>) {
let (app, command) = A::new();
@@ -248,6 +249,10 @@ where
self.0.update(message)
}
+ fn subscription(&self) -> Subscription<Self::Message> {
+ self.0.subscription()
+ }
+
fn view(&mut self) -> Element<'_, Self::Message> {
self.0.view()
}