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.
- Host: GitHub
- URL: https://github.com/pertsevds/named_supervised_server
- Owner: pertsevds
- License: apache-2.0
- Created: 2023-10-03T05:49:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-01T06:24:50.000Z (about 1 year ago)
- Last Synced: 2025-02-28T05:02:57.906Z (3 months ago)
- Topics: elixir
- Language: Elixir
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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