inline fun <reified R : Any> provider(qualifier: Any? = null, generics: Boolean = false): Provider<R>
Retrieves a non-optional provider function that returns R
.
qualifier
- An optional qualifier of the dependency.
generics
- Preserves generic type parameters if set to true (default = false).
Return
The provider function.