()
| 62 | |
| 63 | impl EventBus { |
| 64 | pub fn new() -> Self { |
| 65 | let (tx, _rx) = std::sync::mpsc::channel(); |
| 66 | Self { tx } |
| 67 | } |
| 68 | |
| 69 | pub fn sender(&self) -> std::sync::mpsc::Sender<Event> { |
| 70 | self.tx.clone() |
nothing calls this directly
no outgoing calls
no test coverage detected