lib: Add default impl for state ticker

This commit is contained in:
Erik Kundt
2024-06-07 14:00:40 +02:00
parent 3f96409e03
commit d2eac1c29f
3 changed files with 1 additions and 5 deletions
-2
View File
@@ -45,8 +45,6 @@ impl store::State<()> for State {
}
}
}
fn tick(&mut self) {}
}
#[tokio::main]
-2
View File
@@ -44,8 +44,6 @@ impl store::State<()> for State {
Message::Quit => Some(Exit { value: None }),
}
}
fn tick(&mut self) {}
}
#[tokio::main]
+1 -1
View File
@@ -24,7 +24,7 @@ where
fn update(&mut self, message: Self::Message) -> Option<Exit<P>>;
/// Handle recurring tick.
fn tick(&mut self);
fn tick(&mut self) {}
}
/// The `Store` updates the applications' state concurrently. It handles