fun <R : Any> instancesOfTypeByKey(key: TypeKey<Unit, R>): Set<R>
Retrieve all instances of type R by key.
R
key - The type key.
key
Return A Set of instances of type R.