The NamedSupervisedServer module simplifies the start-up of supervised GenServers with specific names and customizable initialization processes.
NamedSupervisedServer is a GenServer + start_link/1 behavior. By default, it registers name __MODULE__, but you can also supply a different name.
If available in Hex, the package can be installed
by adding named_supervised_server
to your list of dependencies in mix.exs
:
def deps do
[
{:named_supervised_server, "~> 0.1.0"}
]
end