Advances a counter that may only go up, agreed by every node sharing the
store: accepted only when the value is above the highest ever stored (or
both are 0). opts holds scope, key, value and realm (the ambient
realm by default). Resolves { ok: true, advanced, highest }, or
{ ok: false, reason: 'behind' | 'store' }; the caller refuses on either,
and it never rejects.
Advances a counter that may only go up, agreed by every node sharing the store: accepted only when the value is above the highest ever stored (or both are 0).
optsholdsscope,key,valueandrealm(the ambient realm by default). Resolves{ ok: true, advanced, highest }, or{ ok: false, reason: 'behind' | 'store' }; the caller refuses on either, and it never rejects.