Represents a CRDT counter that can be upserted as part of a document or assigned to a property during an update of a document.

Hierarchy

Constructors

Accessors

Constructors

  • Creates a new counter that can be used as part of a document's content.

    Returns Counter

Accessors

  • get value(): number
  • The value of the counter.

    Returns number