type SubSenders = Arc<RwLock<HashMap<SubscriptionID, Sender<NewNotification>>>>;Expand description
Map from SubscriptionID to the channel sender that feeds that
subscription’s HTTP/3 reply stream. Used by dispatch_subs_task
to look up the right sender for each incoming NewNotification
and forward the notification to its stream.
Inserted on subscribe, removed on unsubscribe (or when the stream
ends). RwLock because the dispatcher reads it on every
notification (frequent), while subscribe / unsubscribe write
rarely.
Aliased Type§
struct SubSenders { /* private fields */ }