pub type EventHandler = Arc<dyn Fn(AgentSessionEvent) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>> + Send + Sync>;Expand description
Async event handler type - returns a pinned boxed future
Aliased Type§
pub struct EventHandler { /* private fields */ }