supervisor_bridge
supervisor_bridge
Module
supervisor_bridge
Module summary
Generic supervisor bridge behavior.
Description
This behavior module provides a supervisor bridge, a process that connects a subsystem not designed according to the OTP design principles to a supervision tree. The supervisor bridge sits between a supervisor and the subsystem. It behaves like a real supervisor to its own supervisor, but has a different interface than a real supervisor to the subsystem. For more information, see Supervisor Behaviour
in OTP Design Principles.
A supervisor bridge assumes the functions for starting and stopping the subsystem to be located in a callback module exporting a predefined set of functions.
The sys(3)
module can be used for debugging a supervisor bridge.
Unless otherwise stated, all functions in this m