master
Avril 4 years ago
parent 6ffd5d439e
commit 4151400783
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -17,6 +17,9 @@ use tokio::{
mod interval; mod interval;
mod config; mod config;
mod context;
mod live;
async fn do_thing_every() -> Result<(mpsc::Sender<()>, task::JoinHandle<()>), Box<dyn std::error::Error>> async fn do_thing_every() -> Result<(mpsc::Sender<()>, task::JoinHandle<()>), Box<dyn std::error::Error>>
{ {
let mut interval = time::interval(Duration::from_secs(10)); let mut interval = time::interval(Duration::from_secs(10));

Loading…
Cancel
Save