cartel v0.7.0 Cartel.Supervisor
Cartel supervisor for dealer processes
Summary
Functions
Adds a new Dealer to the supervision tree
Callback implementation for c:Supervisor.init/1
Removes a Dealer from the supervision tree
Starts the supervisor
Functions
Specs
add_dealer(String.t, %{}) :: Supervisor.on_start_child
Adds a new Dealer to the supervision tree.
- appid: The app name
- pushers: pushers as you specify in the static configuration
Specs
remove_dealer(String.t) :: :ok | {:error, :not_found}
Removes a Dealer from the supervision tree.
- appid: The app name