View Source Yggdrasil.Subscriber.Distributor (Yggdrasil v6.0.2)

Supervisor for Yggdrasil.Subscriber.Manager, Yggdrasil.Subscriber.Adapter and Yggdrasil.Subscriber.Publisher.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the supervisor and its children using the channel as part of the identificator for the supervision tree. It also receives the pid of the first subscriber. Additionally it can receive Supervisor options.

Stops the supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(channel, pid, options \\ [])

View Source

Specs

Starts the supervisor and its children using the channel as part of the identificator for the supervision tree. It also receives the pid of the first subscriber. Additionally it can receive Supervisor options.

Specs

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

Stops the supervisor.