pre-metrics
This commit is contained in:
@@ -85,6 +85,7 @@ const DEFAULT_CAPACITY: usize = 64;
|
||||
/// # tokio::time::sleep(std::time::Duration::from_millis(10)).await;
|
||||
/// # });
|
||||
/// ```
|
||||
#[derive(Debug)]
|
||||
pub struct EventBus {
|
||||
/// Channels indexed by exact topic.
|
||||
channels: RwLock<HashMap<String, broadcast::Sender<AnyEvent>>>,
|
||||
|
||||
Reference in New Issue
Block a user