MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / num_consumers

Method num_consumers

nodedb/src/event/plane.rs:233–235  ·  view source on GitHub ↗

Number of consumer tasks (one per core).

(&self)

Source from the content-addressed store, hash-verified

231
232 /// Number of consumer tasks (one per core).
233 pub fn num_consumers(&self) -> usize {
234 self.consumers.len()
235 }
236
237 /// Total events processed across all consumers.
238 pub fn total_events_processed(&self) -> u64 {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected