Return the last-used timestamp (Unix epoch ms) for a connected server, or `None` if the server is unknown / not connected.
(&self, name: &str)
| 178 | /// Return the last-used timestamp (Unix epoch ms) for a connected |
| 179 | /// server, or `None` if the server is unknown / not connected. |
| 180 | pub async fn last_used_at_ms(&self, name: &str) -> Option<u64> { |
| 181 | self.last_used_at_ms.read().await.get(name).copied() |
| 182 | } |
| 183 | |
| 184 | /// Mark a server as active right now. The framework calls this |
| 185 | /// automatically on connect and on every successful |
no test coverage detected