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

Method has_pending

nodedb-cluster/src/distributed_graph/pattern_match.rs:97–99  ·  view source on GitHub ↗

Check if there are pending continuations to dispatch.

(&self)

Source from the content-addressed store, hash-verified

95
96 /// Check if there are pending continuations to dispatch.
97 pub fn has_pending(&self) -> bool {
98 !self.pending.is_empty()
99 }
100
101 /// Take all pending continuations for a target shard.
102 pub fn take_pending(&mut self, shard_id: u32) -> Vec<PatternContinuation> {

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected