MCPcopy Create free account
hub / github.com/AI45Lab/Code / is_closed

Method is_closed

core/src/agent_api.rs:483–485  ·  view source on GitHub ↗

Return whether [`close`](Self::close) has been called on this agent.

(&self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected