1use crate::change::Event; 2 3/// Function called when an event is emitted by the tree synchronously. 4pub type Listener<T> = Box<dyn Fn(Event<T>)>;