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