koin-core-ext / org.koin.experimental.builder / org.koin.core.module.Module / singleBy

singleBy

inline fun <reified R : Any, reified T : R> Module.singleBy(qualifier: Qualifier? = null, createOnStart: Boolean = false, override: Boolean = false): BeanDefinition<R>

Create a Single definition for given type T to modules and cast as R

Parameters

qualifier -

createOnStart -

override -