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

factory

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

Create a Factory definition for given type T

Parameters

name -

override -