winter / io.jentz.winter / Graph / providerByKey

providerByKey

fun <R : Any> providerByKey(key: TypeKey<R>): Provider<R>

Retrieves a non-optional provider function by key that returns R.

Parameters

key - The type key of the instance.

Exceptions

EntryNotFoundException -

Return
The provider function.