pub type EventHandler = Arc<dyn Fn(&[RuntimeEvent]) + Send + Sync>;Expand description
The runtime’s event handler. It runs on the runtime’s thread with each batch of events, oldest first.
Aliased Type§
pub struct EventHandler { /* private fields */ }