Skip to main content

AddEventHandlerCallback

Type Alias AddEventHandlerCallback 

Source
pub type AddEventHandlerCallback = Rc<dyn Fn(Option<&BoxedValue>, &BoxedValue)>;
Expand description

The handler an IAddEventHandler subscribes: it receives the sender (if the event has one) and the event args, untyped (Action<object?, object>).

Aliased Typeยง

pub struct AddEventHandlerCallback { /* private fields */ }