Module: crdt/ORSet

This module implements the CRDT ORSet algorithm.

Source:

Classes

ORSet

Methods

(inner) isORSetMetadataFastCheck(data) → {boolean}

Parameters:
Name Type Description
data any

The data to check for compatibility.

Function that verifies that the metadata has the correct format. It checks the array types, not each element in the array.

Source:
Returns:

Type: boolean

(inner) isORSetMetadata(data) → {boolean}

Parameters:
Name Type Description
data unknown

The data to check for compatibility.

Function that verifies that the metadata has the correct format. It checks the array types and every element in the array.

Source:
Returns:

Type: boolean