Dependency Injection
Nexus โ the IoC container that owns every Titan-managed object.
Providers
The provider types Nexus understands and the helpers that build them.
Scopes
Transient, Singleton, Scoped, Request โ how Nexus decides when to reuse an instance.
Tokens
Class, symbol, multi-, lazy, async, optional, config, stream โ the token family.
Multi-injection
One token, many providers โ the canonical pattern for plugins, validators, middleware chains.
Contextual Injection
Resolve different providers based on runtime context โ current user, environment, feature flags, tenant.
DI Middleware
Wrap container resolution itself โ retry, caching, rate-limit, circuit-breaker, logging, validation, transactions.
Circular Dependencies
Detect, diagnose, and break cycles in the DI graph.
DevTools
Inspect the container at runtime โ dependency graph, performance, state snapshots.