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

Method pending_count

core/src/planning/mod.rs:272–277  ·  view source on GitHub ↗

Count remaining Pending steps

(&self)

Source from the content-addressed store, hash-verified

270
271 /// Count remaining Pending steps
272 pub fn pending_count(&self) -> usize {
273 self.steps
274 .iter()
275 .filter(|s| s.status == TaskStatus::Pending)
276 .count()
277 }
278
279 /// Detect deadlock: Pending steps remain but none are ready to execute.
280 ///

Callers 1

has_deadlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected