votedFor

open suspend override fun votedFor(): NodeId?

Returns the NodeId this node voted for in the current term, or null if it has not yet voted.