DeltaCrdt.Storage behaviour (delta_crdt v0.6.4) View Source
This behaviour can be used to enable persistence of the CRDT.
This can be helpful in the event of crashes.
To use, implement this behaviour in a module, and pass it to your CRDT with the storage_module
option.
Link to this section Summary
Link to this section Types
Specs
storage_format()
Specs
t() :: module()
Link to this section Callbacks
Specs
read(name :: term()) :: storage_format() | nil
Specs
write(name :: term(), storage_format()) :: :ok