The platform's module tree: the root module and its children, in one place.
The root provides nothing and requires nothing itself; it exists so the children have a
scope to see each other in, and its create() — which runs LAST, after every child — does
the App-wide steps that need the whole tree up (the trace
adoption sweep, the machine sweeps). Everything else a module used to reach through
AppDeps it now names in its manifest.
The App-wide steps that need the whole business tree up, as a component of its own: requiring what it sweeps puts it after those nodes in dependency order, and typed by their classes — nothing reaches into a sibling by name.
API
@Component()
export class Startup {
@Use() private readonly scheduler!: Scheduling;
@Use() private readonly orgScheduler!: OrgScheduler;
@Use() private readonly sessionService!: SessionServiceIface;
@Use() private readonly machines!: Machines;
@Use() private readonly errors!: Errors;
@Use() private readonly projectConfig!: ProjectConfigStore;
@Use() private readonly agents!: AgentLifecycle;
async setup();
}Dependencies & Wiring
Extracted from class decorators@Userequires (7)
scheduler: Scheduling · orgScheduler: OrgScheduler · sessionService: SessionServiceIface · machines: Machines · errors: Errors · projectConfig: ProjectConfigStore · agents: AgentLifecycleMethods (1)
setup
async setup()