EventHandler

Type Alias EventHandler 

Source
pub type EventHandler = Arc<dyn Fn(Event) -> Pin<Box<dyn Future<Output = Result<()>> + Send>> + Send + Sync>;
Expand description

Event handler for processing events

Aliased Typeยง

pub struct EventHandler { /* private fields */ }