Does Realm Offer a Built‑In Retry Wrapper to Prevent Duplicate Writes?
Goal: Safely retry a Realm write after a transient failure without creating duplicate persisted records. Constraints: Realm aborts the transaction on error, primary‑key upserts prevent local duplicates, but Realm Sync may still record separate change entries and transaction‑abort guarantees differ between Core versions and language bindings (Java, Swift, Kot