AutoProcessRegistry
This small module is a process registry that can automatically start new processes if a process for a key doesn’t exist.
See the module docs for more info. There’s a single unit test at the moment that shows how to use it.
Installation
If available in Hex, the package can be installed as:
-
Add
auto_process_registryto your list of dependencies inmix.exs:
```elixir
def deps do
[{:auto_process_registry, "~> 0.1.0"}]
end
```-
Ensure
auto_process_registryis started before your application:
```elixir
def application do
[applications: [:auto_process_registry]]
end
```