NamedSupervisedServer

CIHex.pm LicenseHex.pm VersionHex.pm DocsHex.pm Downloads

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.

Compatible with PartitionSupervisor. Partition number added at the end of process name, :partition argument passed down to process init.

Documentation

https://hexdocs.pm/named_supervised_server