Attribute Macro config_changed_event_handler

Source
#[config_changed_event_handler]
Expand description

Proc macro which is set on a function that need to be called whenever a configuration change event is happening. The function must accept a [Context] and [&&str] that contains the names of the configiration values that was changed.

Example:

#[config_changed_event_handler]
fn configuration_changed_event_handler(ctx: &Context, values: &[&str]) { ... }