MCPcopy Create free account
hub / github.com/RustOtomeLab/RustEng / AutoExecutor

Class AutoExecutor

src/executors/auto_executor.rs:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected