Type Alias EventRegistry

Source
pub type EventRegistry = Arc<RwLock<HashMap<String, EventHandler>>>;
Expand description

Type alias for the event registry that maps event keys to handlers.

The registry uses a combination of element ID and event type as the key (format: “element_id:event_type”) to uniquely identify event handlers.

Aliased Type§

pub struct EventRegistry { /* private fields */ }