1 2 3 4 5 6 7 8
use super::*; /// Fixed-size 64-way sharded SSE topic registry array. pub(crate) type SseShardArray = Box<[RwLock<HashMapXxHash3_64<String, Arc<TopicState>>>; SSE_SHARD_COUNT]>; /// Bounded per-topic replay ring storing `(sequence_id, shared_event)` pairs. pub(crate) type SseReplayQueue = VecDeque<(u64, Arc<SharedSseEvent>)>;