Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a CRDT Replicated Growable Array (RGA) that can be upserted as part of a document or assigned to a property during an update of a document.

Hierarchy

Index

Constructors

Accessors

Constructors

  • new RGA(array?: any[]): RGA
  • Constructs a new RGA that can be used as part of a document's content.

    Parameters

    • Optional array: any[]

      The array to use as the RGA's representation.

    Returns RGA

Accessors

  • get value(): any[]
  • The array representation of the RGA.

    Returns any[]