(self: &Arc<Self>, monitor_list: MonitorList)
| 161 | } |
| 162 | |
| 163 | async fn on_monitor_list(self: &Arc<Self>, monitor_list: MonitorList) -> Result<()> { |
| 164 | *self.monitors.lock().await = monitor_list; |
| 165 | self.is_ready.lock().await.monitor_list = true; |
| 166 | |
| 167 | Ok(()) |
| 168 | } |
| 169 | |
| 170 | async fn on_notification_list( |
| 171 | self: &Arc<Self>, |