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

Method iter

nodedb/src/data/executor/core_loop/priority_queues.rs:140–146  ·  view source on GitHub ↗

Iterate over all tasks across all tiers in priority order (Critical → High → Low). Used by the cancel handler to locate a task by request ID.

(&self)

Source from the content-addressed store, hash-verified

138 ///
139 /// Used by the cancel handler to locate a task by request ID.
140 pub fn iter(&self) -> impl Iterator<Item = &ExecutionTask> {
141 self.critical
142 .iter()
143 .chain(self.high.iter())
144 .chain(self.low.iter())
145 .map(|qt| &qt.task)
146 }
147
148 /// Remove the task at `pos` (position in priority order: Critical first, then High, then Low).
149 ///

Callers 15

decode_f32_le_roundtripFunction · 0.45
approx_sizeMethod · 0.45
record_waitMethod · 0.45
write_prometheusMethod · 0.45
read_filesMethod · 0.45
read_single_fileFunction · 0.45
scan_columnarMethod · 0.45
export_snapshotMethod · 0.45
encode_as_arrow_ipcFunction · 0.45
encode_json_vecFunction · 0.45
encode_raw_document_rowsFunction · 0.45

Calls

no outgoing calls

Tested by 15

decode_f32_le_roundtripFunction · 0.36
read_single_fileFunction · 0.36
json_to_valueFunction · 0.36
dense_float_filterFunction · 0.36
sparse_symbol_eq_filterFunction · 0.36
symbol_eq_not_in_dictFunction · 0.36
combined_filtersFunction · 0.36
dict_dense_eq_filterFunction · 0.36