koin-core / org.koin.core / Koin / bind

bind

inline fun <reified P, reified S> bind(noinline parameters: ParametersDefinition? = null): S
fun <S> bind(primaryType: KClass<*>, secondaryType: KClass<*>, parameters: ParametersDefinition? = null): S

Get instance of primary type P and secondary type S (not for scoped instances)

Return
instance of type S