Slurp.ConnectionsSupervisor (slurp v0.0.10)
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for DynamicSupervisor.init/1
.
Link to this section Types
Link to this type
blockchain_id()
Specs
blockchain_id() :: Slurp.Blockchains.Blockchain.id()
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
init(_)
Callback implementation for DynamicSupervisor.init/1
.
Link to this function
start_connection(id)
Specs
start_connection(blockchain_id()) :: DynamicSupervisor.on_start_child()
Link to this function
start_link(_)
Specs
start_link(term()) :: Supervisor.on_start()
Link to this function
terminate_connection(id)
Specs
terminate_connection(blockchain_id()) :: :ok | {:error, :not_found}