pub type EventHandler = Arc<dyn Fn(&SessionEvent) + Send + Sync>;
Handler for session events.
pub struct EventHandler { /* private fields */ }