This is a project to revive and modernize the gen_leader library. Numerous versions of this project exist, developed by disparate groups with different aims. By collecting and integrating these we hope to provide a new standard-library-quality module for the Erlang runtime that provides leader-election functionality without many of the difficulties traditionally associated with such.
Which Version Should I Use?
You should not use this version! I helped organize the glr over a year ago, but I am currently busy with other projects. A much better place to look for updated & integrated versions of this code are at abecciu's repository. Go there.
What Exactly Does It Do?
Let us get back to you on that.