Hephaestus.Instances.Tracker (hephaestus v0.3.1)

Copy Markdown View Source

A GenServer that registers its parent Hephaestus module in the Hephaestus.Instances registry on boot.

Started as a child of each use Hephaestus supervision tree. When the tracker process dies (shutdown, crash), the Registry automatically deregisters the module — no explicit cleanup needed.

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(hephaestus_module)

start_supervised_link(hephaestus_module)