Module: crdt/LWWSet

This module implements the CRDT LWWSet algorithm.

Source:

Classes

LWWSet

Methods

(inner) comparator()

The structure of the metadata of this crdt.

Source:

(inner) isLWWSetMetadataFastCheck(data) → {boolean}

Parameters:
Name Type Description
data unknown

The data to check for compatibility.

Function that verifies the array types of the metadata.

Source:
Returns:

Type: boolean

(inner) isLWWSetMetadata(data) → {boolean}

Parameters:
Name Type Description
data any

The data to check for compatibility.

Function that verifies that the metadata has the correct format, including each array element.

Source:
Returns:

Type: boolean