winter / io.jentz.winter / Graph / factoryByKey

factoryByKey

fun <A, R : Any> factoryByKey(key: TypeKey<A, R>): Factory<A, R>

Retrieve a non-optional factory function by key that takes an argument of type A and returns R.

Parameters

key - The type key of the factory.

Exceptions

EntryNotFoundException -

Return
The factory that takes A and returns R