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
.
key
- The type key of the factory.
Return
The factory that takes A
and returns R