koin-core-ext / org.koin.experimental.builder / org.koin.dsl.context.ModuleDefinition / singleBy

singleBy

inline fun <reified R : Any, reified T : R> ModuleDefinition.singleBy(name: String = "", createOnStart: Boolean = false, override: Boolean = false): BeanDefinition<R>

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

Parameters

name -

createOnStart -

override -