pub fn merge_operations(
existing: &[SyncOperation],
incoming: &[SyncOperation],
) -> Vec<SyncOperation>Expand description
Merge two operation sets add-wins by operation id (never re-apply), returning a deterministically ordered union (by Lamport clock, then id). Idempotent and order-independent.