yggdrasil v2.0.0 Yggdrasil.Publisher.Supervisor

Supervisor for Yggdrasil.Publishers and Yggdrasil.Adapters.

Summary

Functions

Starts the supervisor and its children using the channel as part of the identificator for the supervision tree. Additionaly you can pass a list of Supervisor options

Stops the supervisor

Stops the supervisor and using its name or its PID and a reason for termination

Functions

start_link(channel, options \\ [])

Starts the supervisor and its children using the channel as part of the identificator for the supervision tree. Additionaly you can pass a list of Supervisor options.

stop(supervisor)

Stops the supervisor.

stop(supervisor, reason)

Stops the supervisor and using its name or its PID and a reason for termination.