pub type StateCallback = Box<dyn Fn(&mut EventBuilder) + Send + Sync>;
Callback type for providing state updates.
pub struct StateCallback(/* private fields */);