The Lifecycle, End to End
This page is the map. It shows the whole pipeline ModuleKit runs, from "some
Modules & Descriptors
Everything in ModuleKit is built on two types from modulekit-api: the Module
Discovery
Discovery is the first stage of the pipeline: turning "some classes on the
Dependency Graph
Once modules are discovered, ModuleKit needs to know who depends on whom. That
Topological Sort
The dependency graph tells ModuleKit which modules depend on which. The
Dependency Injection
This is where a module actually gets constructed. By the time it is a module's
Lifecycle & States
A constructed module is not yet doing anything. The lifecycle drives it from
The Module Manager
ModuleManager is the object that ties everything together: it runs discovery,