Boltun.Supervisor

Summary

start_link(opts)

Starts the Boltun supervision tree. The options are:

  • connection: the connection parameters
  • name: the base name to register the process.
  • `callbacks’: the initial callbacks (optional)

Functions

start_link(opts)

Starts the Boltun supervision tree. The options are:

  • connection: the connection parameters
  • name: the base name to register the process.
  • `callbacks’: the initial callbacks (optional)

The supervisor will register each started process by using the provided name and concatenating a dot and the following suffixes:

  • CallbacksAgent the agent where the callbacks are stored
  • Connection the connection to the database
  • Listener the actual listener. You can use this to manage active callbacks