NoReflection

Automatically failing implementation of DependencyReflection that is used by default when unsupported on the current platform.

Optionally, this can be used when you do not wish to allow reflection for your project.

Report a problem

Functions

Link copied to clipboard
open suspend override fun <T : Any> create(kClass: KClass<T>, init: suspend (DependencyKey) -> Any): T

Creates a new instance of the specified class using the provided initialization logic.