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

Properties

Methods

Properties

value: number

The value of the counter.

Methods