(&self, id: String, client: Arc<LspClient>)
| 813 | } |
| 814 | |
| 815 | pub async fn register(&self, id: String, client: Arc<LspClient>) { |
| 816 | self.clients.write().await.insert(id, client); |
| 817 | } |
| 818 | |
| 819 | pub async fn get(&self, id: &str) -> Option<Arc<LspClient>> { |
| 820 | self.clients.read().await.get(id).cloned() |
no outgoing calls
no test coverage detected