preferSource
function preferSource(order): ConflictStrategy;Defined in: ledger-conflict.ts:206
Keep the record whose source ranks earliest in order (a deterministic
authority list, e.g. ['server', 'clientA', 'clientB']). Sources absent from
the list rank last; genuine ties fall back to chronological order.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
order | readonly string[] |