Lamina.Registry.ServerRegistry (lamina v0.4.0)
An Elixir Registry which keeps track of Lamina.Server
processes.
Link to this section Summary
Functions
Returns a list of all the currently running configuration servers on this system.
Link to this section Functions
Link to this function
all_servers()
Specs
all_servers() :: [module()]
Returns a list of all the currently running configuration servers on this system.
Link to this function
lookup(module)
Specs
lookup(module()) :: {:ok, pid(), Lamina.Table.t()} | {:error, Lamina.Error.NotRegisteredError.t()}
Link to this function
register(module, table)
Specs
register(module(), :ets.tid()) :: {:ok, pid()} | {:error, Lamina.Error.AlreadyRegisteredError.t()}