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