View Source Yggdrasil.Publisher.Generator (Yggdrasil v6.0.2)
Generator of publisher pools.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Starts a publisher generator with Supervisor
options
.
Starts a publisher using the generator
and the channel
to identify the
connection.
Stops a publisher generator
.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
start_link([DynamicSupervisor.option() | DynamicSupervisor.init_option()]) :: Supervisor.on_start()
Starts a publisher generator with Supervisor
options
.
Specs
start_publisher(Supervisor.supervisor(), Yggdrasil.Channel.t()) :: DynamicSupervisor.on_start_child()
Starts a publisher using the generator
and the channel
to identify the
connection.
Specs
stop(Supervisor.supervisor()) :: :ok
Stops a publisher generator
.