(
path: &Path,
events : broadcast::Sender<Notification>
)
| 24 | impl Server |
| 25 | { |
| 26 | pub async fn new( |
| 27 | path: &Path, |
| 28 | events : broadcast::Sender<Notification> |
| 29 | ) -> Result<Self> |
| 30 | { |
| 31 | Ok(Self { |
| 32 | rpc_path: path.to_path_buf(), |
| 33 | events : events |
| 34 | }) |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | pub struct NotificationStream<T> { |
nothing calls this directly
no outgoing calls
no test coverage detected