use super::*;
#[derive(CustomDebug)]
pub struct Selector<K>
where
K: Clone + Eq + Hash + 'static,
{
#[debug(skip)]
pub(crate) active: Rc<RefCell<Option<K>>>,
#[debug(skip)]
pub(crate) subscribers: Rc<RefCell<HashMap<K, Signal<bool>>>>,
pub(crate) watcher: Effect,
}