DeltaCrdt.read

You're seeing just the function read, go back to DeltaCrdt module for more information.
This function is deprecated. Use get/2 or take/3 or to_map/2.

Specs

read(crdt :: t()) :: crdt_state :: term()

Read the state of the CRDT.

Forwards arguments to the used crdt module, so read(crdt, ["my-key"]) would call crdt_module.read(state, ["my-key"]).

For example, DeltaCrdt.AWLWWMap accepts a list of keys to limit the returned values instead of returning everything.

Specs

read(crdt :: t(), timeout :: timeout()) :: crdt_state :: term()
read(crdt :: t(), keys :: list()) :: crdt_state :: term()
Link to this function

read(crdt, keys, timeout)

View Source

Specs

read(crdt :: t(), keys :: list(), timeout :: timeout()) :: crdt_state :: term()