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

factoryBy

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

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

Parameters

name -

override -