Options
All
  • Public
  • Public/Protected
  • All
Menu

A Vote Replicated Data type.

A Vote Replicated Data type allows all nodes an a cluster to vote on a condition, such as whether a user is online.

Hierarchy

  • Vote

Implements

Index

Constructors

Accessors

  • get votesFor(): number
  • get totalVoters(): number
  • get atLeastOne(): boolean
  • get majority(): boolean
  • get all(): boolean
  • get vote(): boolean
  • set vote(value: boolean): void

Methods

  • toString(): string

Generated using TypeDoc