Global

Methods

compareIDs(a, b) → {boolean}

Parameters:
Name Type Description
a ID | null
b ID | null
Returns:
boolean

getState(store, client) → {number}

Parameters:
Name Type Description
store StructStore
client number
Returns:
number

getStates(store) → {Map.<number, number>}

Return the states as a Map<client,clock>. Note that clock refers to the next expected clock id.

Parameters:
Name Type Description
store StructStore
Returns:
Map.<number, number>

protected isVisible(item, snapshot)

Parameters:
Name Type Description
item AbstractItem
snapshot Snapshot | undefined