fun subcomponent(qualifier: Any, override: Boolean = false, deriveExisting: Boolean = false, block: ComponentBuilder.() -> Unit): Unit
Register a subcomponent.
qualifier
- The qualifier of the subcomponent.
override
- If true an existing subcomponent will be replaced.
deriveExisting
- If true an existing subcomponent will be derived and replaced with the
derived version.
block
- A builder block to register provider on the subcomponent.