Skip to main content

event_subjects

Function event_subjects 

Source
pub fn event_subjects<TEvent: Event>() -> Vec<String>
Expand description

The full set of subjects an event occupies: its Event::SUBJECT plus any Event::COMPATIBLE_SUBJECTS.

Used both to create the event stream and to filter the subscriber’s consumer, so the two always agree.