subcomponent

fun subcomponent(qualifier: Qualifier, deriveExisting: Boolean = false, block: Component.Builder.() -> Unit)(source)

Register a subcomponent.

Parameters

qualifier

The qualifier of the subcomponent.

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.