Class EventHandler


  • public class EventHandler
    extends Object
    A trait implemented for objects handling events from [`EventsProvider`]. An async variation also exists for implementations of [`EventsProvider`] that support async event handling. The async event handler should satisfy the generic bounds: `F: core::future::Future, H: Fn(Event) -> F`.