settle

abstract suspend fun settle(changes: List<TimerChange>): List<Boolean>

Writes each change's TimerChange.next status, slot, slot's due time, skipped slots, due time, attempts and outcome, when the store still holds its TimerChange.loaded timer as loaded (same id, status, slot, slot's due time, attempts and due time); in as few round trips as the backend allows.

Return

for each change, in the order of changes, whether the store holds its TimerChange.next after the call. For a single change that is exactly whether this call wrote it, so a claim, one change, learns whether it won. For several, when two writers act on the same timers at once, a backend that cannot tell its writes apart may report another writer's identical change (the same outcome, recorded once), and leave out one this call wrote that another replaced before it looked; that one is claimed or settled again, never sent twice.