Skip to main content

EventHandler

Type Alias EventHandler 

Source
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 */ }