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

Method queue_stats

core/src/agent_api.rs:1268–1270  ·  view source on GitHub ↗

Get optional queue statistics (pending, active, external counts per lane).

(&self)

Source from the content-addressed store, hash-verified

1266
1267 /// Get optional queue statistics (pending, active, external counts per lane).
1268 pub async fn queue_stats(&self) -> SessionQueueStats {
1269 QueueControl::from_session(self).stats().await
1270 }
1271
1272 /// Get a metrics snapshot from the optional queue (if metrics are enabled).
1273 pub async fn queue_metrics(&self) -> Option<MetricsSnapshot> {

Calls 1

statsMethod · 0.45