squabble v0.1.0 Squabble.Leader behaviour View Source
Behaviour for modules that care about leader functions
Link to this section Summary
Callbacks
The local node was selected as a leader
A node went down, callback from the squabble leader
Link to this section Types
Link to this section Callbacks
Link to this callback
leader_selected(election_term)
View Source
leader_selected(election_term()) :: :ok
The local node was selected as a leader
A node went down, callback from the squabble leader