-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-1930 Subscription-like API to leader election
Peer leadership status change callback signature This callback invoked once peer become leader or give up on leadership And it passed as argument to NewLeaderElectionService, can be nil Change-Id: Ib0ef831f84428e3505cd4a69feb6135b57660e1d Signed-off-by: Gennady Laventman <gennady@il.ibm.com>
- Loading branch information
1 parent
36bbeb6
commit 1c0ecbd
Showing
2 changed files
with
65 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters