winter / io.jentz.winter / Graph / provider

provider

inline fun <reified R : Any> provider(qualifier: Any? = null, generics: Boolean = false): Provider<R>

Retrieves a non-optional provider function that returns R.

Parameters

qualifier - An optional qualifier of the dependency.

generics - Preserves generic type parameters if set to true (default = false).

Exceptions

EntryNotFoundException -

Return
The provider function.