task-motel 0.1.0

Opinionated (Tokio) task manager with nested task groups and stoppable tasks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// #![warn(missing_docs)]

mod error;
pub use error::*;

mod manager;
use futures::task::FutureObj;
pub use manager::*;

mod signal;
pub use signal::*;

#[cfg(test)]
pub mod test_util;

/// A JoinHandle returning the result of running the task
pub type Task = FutureObj<'static, ()>;