Module hey_listen::rc::priority_dispatcher
source · Structs
In charge of prioritised sync dispatching to all listeners.
Owns a map event-variants and
Weak
-references to their
listeners and/or owns Fn
s.
Opposed to EventListener
, this structure utilises one BTreeMap
per
event-type to order listeners by a given priority-level.