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

Class TextExecutor

src/executors/text_executor.rs:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5use tokio::time::{sleep, Duration};
6
7pub(crate) struct TextExecutor {
8 timer: slint::Timer,
9 weak: Weak<MainWindow>,
10 text_rx: Option<Receiver<String>>,
11}
12
13impl TextExecutor {
14 pub(crate) fn new(weak: Weak<MainWindow>) -> (Self, Sender<Arc<RwLock<DisplayText>>>) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected