Properties
Private
channel
channel: BroadcastChannel<any>
Private
elector
elector: LeaderElector
Private
eventListeners
eventListeners: ((message) => Promise<void>)[] = ...
Type declaration
-
- (message): Promise<void>
-
Returns Promise<void>
Private
onBCMessageHandler
onBCMessageHandler: Function
Private
onElectedLeaderHandler
onElectedLeaderHandler: Function
Private
wasLeader
wasLeader: boolean = false