Class MutableRegister

Represents a mutable CRDT register that can be set to a specific value when updating a document.

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

Hierarchy

Accessors

Methods

Accessors

  • get value(): any
  • Returns the value of the register.

    Returns any

  • set value(value: any): void
  • Convenience setter, equivalent to set().

    Parameters

    • value: any

    Returns void

Methods