Skip to main content

event_interceptor

Attribute Macro event_interceptor 

Source
#[event_interceptor]
Expand description

The Java @EventInterceptor analog as a first-class marker attribute: the function receives the raw envelope and replies manually; the worker ignores its returned envelope. Order-insensitive — write it above or below #[preload], or inline as #[preload(..., interceptor)].