pub type EventHandler = Arc<dyn Fn(&Event) + Send + Sync>;
Event handler callback type
pub struct EventHandler { /* private fields */ }