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

Method job_count

core/src/serve/schedule.rs:79–81  ·  view source on GitHub ↗

Number of active (enabled, valid) jobs.

(&self)

Source from the content-addressed store, hash-verified

77
78 /// Number of active (enabled, valid) jobs.
79 pub fn job_count(&self) -> usize {
80 self.jobs.len()
81 }
82
83 /// Run until `cancel` fires; one independent loop per job.
84 pub async fn run(self, sink: Arc<dyn ScheduleSink>, cancel: CancellationToken) {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected