Class MutableCounter

Represents a mutable CRDT counter that can be incremented by a specific amount while updating a document.

This class can't be instantiated directly, it's returned automatically for any counter property within an update block via counter.

Hierarchy

Accessors

Methods

Accessors

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

    Returns number

Methods