| 10 | }; |
| 11 | |
| 12 | pub(crate) struct AutoExecutor { |
| 13 | timer: slint::Timer, |
| 14 | pub(crate) executor: Executor, |
| 15 | is_auto: Arc<AtomicBool>, |
| 16 | auto_rx: Option<Receiver<()>>, |
| 17 | } |
| 18 | |
| 19 | impl AutoExecutor { |
| 20 | pub(crate) fn new(executor: Executor) -> (Self, Sender<()>, Sender<Duration>) { |
nothing calls this directly
no outgoing calls
no test coverage detected