Record that an op has been applied by appending it to the durable op-log. Called by `OriginArrayInbound` after a successful Data Plane dispatch so future `already_seen` calls return `true` for the same `(array, hlc)`.
(
&self,
op: &nodedb_array::sync::op::ArrayOp,
)
| 63 | /// Called by `OriginArrayInbound` after a successful Data Plane dispatch so |
| 64 | /// future `already_seen` calls return `true` for the same `(array, hlc)`. |
| 65 | pub fn record_applied( |
| 66 | &self, |
| 67 | op: &nodedb_array::sync::op::ArrayOp, |
| 68 | ) -> nodedb_array::error::ArrayResult<()> { |
| 69 | self.op_log.append(op) |
| 70 | } |
| 71 | } |
no test coverage detected