Created
April 22, 2022 13:16
-
-
Save thisisjofrank/c4ee7bf26ef06e91f46cc737b6aef236 to your computer and use it in GitHub Desktop.
The UI of this demo is very simple - a couple of paragraphs that display the current browsers ClientId and whether or not this client is the leader.
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
... | |
<body> | |
<h1>Leader Election Demo</h1> | |
<p>Client Id: <span id="client-id"></span></p> | |
<p>Leader?: <span id="leader"></span></p> | |
<p>Current Counter Value: <span id="counter-value"></span></p> | |
<div id="presence-members"> | |
Waiting to load presence.... | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment