Grouper.Data (Grouper v0.1.0) View Source
uniform data layer for groups of processes
Link to this section Summary
Functions
identifies which type of group is being used, builds API functions, and caches them in the process dictionary
delete data value of a given type and a given key
enumerates all key-values of a given data type
get data value of a given type and a given key
store data value of a given type and a given key
Link to this section Types
Link to this section Functions
Specs
identifies which type of group is being used, builds API functions, and caches them in the process dictionary
Options
:leader
- override detected group leader with specified one (mostly used in testing)
Specs
delete data value of a given type and a given key
Specs
enum(type(), opts()) :: {:ok, [{{type(), key()}, value()}] | [{key(), value()}]} | {:error, :no_group}
enumerates all key-values of a given data type
Specify the special type :_
to read data of all types
Specs
get data value of a given type and a given key
Specs
store data value of a given type and a given key