Skip to main content

EventPattern

Attribute Macro EventPattern 

Source
#[EventPattern]
Expand description

#[EventPattern("topic")] — marks a method inside an #[EventConsumer] impl as the handler for one topic. Marker; consumed by #[EventConsumer].