Skip to main content

SubRegistry

Type Alias SubRegistry 

Source
pub type SubRegistry = Arc<Mutex<HashMap<String, Vec<Subscriber>>>>;
Expand description

uri → its subscribers. Pushed when a resource changes. Arc-shared with the background threads that mutate resource state (a run reaching a terminal status, a reload landing, an event-ring growth).

Aliased Type§

pub struct SubRegistry { /* private fields */ }