pub async fn dispatch<E>(event: E)where
E: Event,Expand description
Runs every listener registered for E, sequentially, awaiting each in
turn before moving to the next. A silent no-op if listeners()... publish() was never called, or if nothing is registered for this
specific E - there’s no failure mode here worth an AppError; a
listener that can fail should log its own error internally rather than
short-circuit the others.