Lamina.Registry.ServerRegistry (lamina v0.2.2)

An Elixir Registry which keeps track of Lamina.Server processes.

Link to this section Summary

Link to this section Functions

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()}