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

scopeBy

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

Create a Scope definition for given type T, applied to R

Parameters

name -

override -