get

fun <T : Any> get(key: KClass<T>): T

Fetches the singleton instance for the given class key. If no provider has been registered, this will delegate to onMiss.


inline fun <T : Any> get(): T

Fetches the singleton instance for the reified type T. If no provider has been registered, this will delegate to onMiss.