1 2 3 4 5 6 7 8 9
use std::sync::{mpsc::Receiver, Arc, Mutex}; use fluentci_core::deps::Graph; pub struct State { pub graph: Arc<Mutex<Graph>>, pub rx: Arc<Mutex<Receiver<(String, usize)>>>, pub runner: String, }