DeltaCrdt.set_neighbours

You're seeing just the function set_neighbours, go back to DeltaCrdt module for more information.
Link to this function

set_neighbours(crdt, neighbours)

View Source

Specs

set_neighbours(crdt :: t(), neighbours :: [t()]) :: :ok

Notify a CRDT of its neighbours.

This function allows CRDTs to communicate with each other and sync their states.

Note: this sets up a unidirectional sync, so if you want bidirectional syncing (which is normally desirable), then you must call this function twice (or thrice for 3 nodes, etc):

DeltaCrdt.set_neighbours(c1, [c2, c3])
DeltaCrdt.set_neighbours(c2, [c1, c3])
DeltaCrdt.set_neighbours(c3, [c1, c2])