Method GetLeaderSnapshot()

Assembly: redb.Tsak.Core.Pro.dll

Returns (IsLeader, Epoch, LeaderNodeId) as ONE consistent snapshot — use this instead of
reading the three getters separately when the values must belong to the same election (e.g.
epoch fencing on assignments).

LeaderSnapshot GetLeaderSnapshot()