pub type CallbackFn = &'static dyn Fn(Event) -> Option<Response>;
Type of the user’s callback function