Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CRDTSavedStateMeta

CRDT-related meta for a saved state.

CRuntime puts this meta in SavedStateMeta.runtimeExtra whenever it delivers a saved state to Collab.load. To access it more easily, consider extending PrimitiveCRDT.

Unlike CRDTMessageMeta, all properties are always included; there is no "request" mechanism.

Hierarchy

  • CRDTSavedStateMeta

Index

Properties

localLamportTimestamp: number

The local replica's Lamport timestamp (prior to merging savedState's Lamport timestamp).

localVectorClock: VectorClock

The local replica's vector clock (prior to merging savedState's vector clock).

remoteLamportTimestamp: number

The saved state's Lamport timestamp, i.e., the remote replica's Lamport timestamp at the time Collab.save was called.

remoteVectorClock: VectorClock

The saved state's vector clock, i.e., the remote replica's vector clock at the time Collab.save was called.

Generated using TypeDoc