obeli_sk_executor/
lib.rs

1use tokio::task::AbortHandle;
2
3pub mod executor;
4pub mod expired_timers_watcher;
5pub mod worker;
6
7pub struct AbortOnDropHandle(pub AbortHandle);
8impl Drop for AbortOnDropHandle {
9    fn drop(&mut self) {
10        self.0.abort();
11    }
12}