Return whether [`close`](Self::close) has been called on this agent.
(&self)
| 481 | |
| 482 | /// Return whether [`close`](Self::close) has been called on this agent. |
| 483 | pub fn is_closed(&self) -> bool { |
| 484 | self.closed.load(std::sync::atomic::Ordering::Acquire) |
| 485 | } |
| 486 | |
| 487 | /// Disconnect every global MCP server whose last activity is older |
| 488 | /// than `idle_threshold_ms`. Returns the names of disconnected |