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

Function mark_sent

nodedb/src/control/array_sync/outbound/cursor.rs:26–28  ·  view source on GitHub ↗

Advance the subscriber cursor to `op_hlc` and persist. Delegates to `SubscriberMap::mark_sent`.

(map: &SubscriberMap, session_id: &str, array_name: &str, op_hlc: Hlc)

Source from the content-addressed store, hash-verified

24///
25/// Delegates to `SubscriberMap::mark_sent`.
26pub fn mark_sent(map: &SubscriberMap, session_id: &str, array_name: &str, op_hlc: Hlc) {
27 map.mark_sent(session_id, array_name, op_hlc);
28}
29
30#[cfg(test)]
31mod tests {

Callers 1

deliver_to_sessionMethod · 0.85

Calls 1

mark_sentMethod · 0.80

Tested by

no test coverage detected