Fact.DatabaseSupervisor (Fact v0.1.0)

View Source

Supervises all processes for a single Fact database instance. 🏛️

Fact.DatabaseSupervisor is the top-level supervisor for a database, responsible for:

Each child process is registered under a database-specific name via Fact.Registry, ensuring isolation between multiple database instances.

This supervisor is automatically started by Fact.Supervisor when a database is initialized, and consumers typically interact with the database through higher-level APIs rather than directly starting this supervisor.

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