Module mithril_aggregator::dependency_injection
source · Expand description
Dependency injection module. This module provides tools to initialize and share resources and services amongst different threads.
It takes all its inputs from the configuration which should combine inputs from:
- environment
- command line
- configuration files
- default values
The Builder ensure every services has required dependencies to build and provide services containers for each sub process.
Structs§
- Dependencies container builder
- DependencyManager handles the dependencies
Enums§
- Error that can occur during dependencies initialization process.
Type Aliases§
- EpochServiceWrapper wraps a EpochService
- Result with the DependenciesBuilderError error.