Rambla v0.1.0 Rambla.ConnectionPool View Source

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

conn(type)

View Source
conn(type :: atom()) :: any()
Link to this function

pools()

View Source
pools() :: [
  {:undefined, pid() | :restarting, :worker | :supervisor,
   :supervisor.modules()}
]
Link to this function

publish(type, message, opts \\ [])

View Source
publish(type :: atom(), message :: map(), opts :: keyword()) ::
  Rambla.Connection.outcome()
Link to this function

start_link(opts \\ [])

View Source
start_link(opts :: keyword()) :: Supervisor.on_start()
Link to this function

start_pools(opts)

View Source
start_pools(%{required(atom()) => keyword()}) :: [
  DynamicSupervisor.on_start_child()
]