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.

Link to this function

start_link(options \\ [])

View Source

Specs

Starts a publisher generator with Supervisor options.

Link to this function

start_publisher(generator, channel)

View Source

Specs

Starts a publisher using the generator and the channel to identify the connection.

Specs

stop(Supervisor.supervisor()) :: :ok

Stops a publisher generator.