Sexy.TDL.Riser (Sexy v0.9.13)

Copy Markdown View Source

Per-session supervisor for a TDLib account.

Supervises Sexy.TDL.Backend and Sexy.TDL.Handler with a :one_for_all strategy (if one crashes, both restart). Additional child specs can be injected via the :children option in Sexy.TDL.open/3.

Started automatically by Sexy.TDL via DynamicSupervisor — not called directly.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(arg)