#[flush_event_handler]
Expand description
Proc macro which is set on a function that need to be called whenever a flush event happened. The function must accept a [Context] and [FlushSubevent].
Example:
ⓘ
#[flush_event_handler]
fn flush_event_handler(ctx: &Context, values: FlushSubevent) { ... }