Tube charging system. Exploring processes in Elixir.
If available in Hex, the package can be installed
by adding tube
to your list of dependencies in mix.exs
:
def deps do
[
{:tube, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/tube.
mix compile
mix escript.build
mix test
./tube
iex -S mix
- would I have a separate Registry for every "type" of stored thing?
- do I pass that registry around?
- when do I use
Agent
and when do I useGenServer
? - are supervisors really necessary in the beginning?