Trait EventCallback
vented::event_handler
pub trait EventCallback: Fn(Event) -> Pin<Box<dyn Future<Output = Option<Event>>>> + Send + Sync { }