hyperlane_broadcast/broadcast_map/
struct.rs

1use crate::*;
2
3/// Represents a concurrent, thread-safe map of broadcast channels, keyed by string.
4///
5/// This struct provides a way to manage multiple broadcast channels, each identified by a unique string,
6/// allowing for dynamic creation, retrieval, and management of broadcast streams.
7#[derive(Debug, Clone)]
8pub struct BroadcastMap<T: BroadcastTrait>(pub(super) DashMapStringBroadcast<T>);