Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AntidoteObject<T>

An AntidoteObject is a reference to an object in the database and is bound to the CrdtFactory which created the reference.

For example, when a reference is created from a Transaction object, all reads on the object will be performed in the context of the transaction.

Type parameters

  • T

    the type returned when reading the object

Hierarchy

Implemented by

Index

Properties

Methods

Properties

parent

parent: CrdtFactory

the parent factory

Methods

read

  • read(): Promise<T>
  • reads the current value of the object

    Returns Promise<T>

Generated using TypeDoc