use std::{collections::HashSet, sync::{Arc, Mutex, OnceLock}}; pub type Refreshing = Arc>>; pub static REFRESHING: OnceLock = OnceLock::new(); pub fn set_refreshing() { let _ = REFRESHING.set(Arc::new(Mutex::new(HashSet::new()))); }