View Source Yggdrasil.Publisher (Yggdrasil v6.0.2)
Publisher pool of processes.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Publishes message
in a channel
with some optional options
.
Starts a pool of publisher adapters using the information of a channel
.
Additionally can receive Supervisor
options
.
Stops the supervisor
.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
publish(Yggdrasil.Channel.t(), term(), keyword()) :: :ok | {:error, term()}
Publishes message
in a channel
with some optional options
.
Specs
start_link(Yggdrasil.Channel.t(), [ Supervisor.option() | Supervisor.init_option() ]) :: Supervisor.on_start()
Starts a pool of publisher adapters using the information of a channel
.
Additionally can receive Supervisor
options
.
Specs
stop(Supervisor.supervisor()) :: :ok
Stops the supervisor
.