An open API service indexing awesome lists of open source software.

https://github.com/pertsevds/named_supervised_server

NamedSupervisedServer is a GenServer + start_link/1 behavior. By default, it registers name __MODULE__, but you can also supply a different name.
https://github.com/pertsevds/named_supervised_server

elixir

Last synced: 2 months ago
JSON representation

NamedSupervisedServer is a GenServer + start_link/1 behavior. By default, it registers name __MODULE__, but you can also supply a different name.

Awesome Lists containing this project

README

        

# NamedSupervisedServer

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.

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `named_supervised_server` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[
{:named_supervised_server, "~> 0.1.0"}
]
end
```

## Documentation