saveTerm

abstract suspend fun saveTerm(term: Long)

Persists term as the latest observed term.

Prefer saveTermAndVotedFor when advancing the term and clearing the vote in the same operation — it is safer on crash-prone storage.