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

Method take_all_pending

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

Take all pending continuations, grouped by target shard.

(&mut self)

Source from the content-addressed store, hash-verified

105
106 /// Take all pending continuations, grouped by target shard.
107 pub fn take_all_pending(&mut self) -> HashMap<u32, Vec<PatternContinuation>> {
108 std::mem::take(&mut self.pending)
109 }
110
111 /// Advance to next round. Returns `false` if max rounds reached.
112 pub fn advance(&mut self) -> bool {

Callers 1

coordinator_multi_roundFunction · 0.80

Calls 1

takeFunction · 0.85

Tested by 1

coordinator_multi_roundFunction · 0.64