Expand description
Multi-Tab Leader Election Implementation
Implements leader election using BroadcastChannel + deterministic leader selection. Only one tab/instance can be the leader at any time for a given database. Uses lowest instance ID wins approach to resolve race conditions.
Structsยง
- Leader
Election Manager - Manager for multi-tab leader election
- Leader
Election State - Leader election state for a database instance