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

Method with_observer

nodedb/src/control/array_sync/inbound.rs:154–157  ·  view source on GitHub ↗

Attach a post-apply observer (used by `ArrayFanout` for Lite fan-out).

(mut self, observer: Arc<dyn ArrayApplyObserver>)

Source from the content-addressed store, hash-verified

152
153 /// Attach a post-apply observer (used by `ArrayFanout` for Lite fan-out).
154 pub fn with_observer(mut self, observer: Arc<dyn ArrayApplyObserver>) -> Self {
155 self.apply_observer = Some(observer);
156 self
157 }
158
159 // ─── Delta ───────────────────────────────────────────────────────────────
160

Callers 1

handle_sync_sessionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected