View Source Yggdrasil.Publisher.Generator (Yggdrasil v6.0.3)
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.
@spec start_link([DynamicSupervisor.option() | DynamicSupervisor.init_option()]) :: Supervisor.on_start()
Starts a publisher generator with Supervisor options.
@spec start_publisher(Supervisor.supervisor(), Yggdrasil.Channel.t()) :: DynamicSupervisor.on_start_child()
Starts a publisher using the generator and the channel to identify the
connection.
@spec stop(Supervisor.supervisor()) :: :ok
Stops a publisher generator.