DeltaCrdt.start_link
You're seeing just the function
start_link
, go back to DeltaCrdt module for more information.
Specs
start_link( crdt_module :: module(), opts :: crdt_options() ) :: GenServer.on_start()
Start a DeltaCrdt and link it to the calling process.
There are a number of options you can specify to tweak the behaviour of DeltaCrdt:
:sync_interval
- the delta CRDT will attempt to sync its local changes with its neighbours at this interval (specified in milliseconds). Default is 200.:on_diffs
- function which will be invoked on every diff:max_sync_size
- maximum size of synchronization (specified in number of items to sync):name
- name of the CRDT process:storage_module
- module which implementsDeltaCrdt.Storage
behaviour