micro_utils.dokka
0.15.1

# Package-level declarations

## Functions

factory
Link copied to clipboard
inline fun <T : Any> <Error class: unknown class>.factory(qualifier: String, noinline definition: <Error class: unknown class><T>): <Error class: unknown class>
factoryWithBinds
Link copied to clipboard
inline fun <T : Any> Module.factoryWithBinds(qualifier: <Error class: unknown class>? = null, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
inline fun <T : Any> Module.factoryWithBinds(qualifier: String, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
inline fun <T : Any> Module.factoryWithBinds(qualifier: <Error class: unknown class>? = null, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
inline fun <T : Any> Module.factoryWithBinds(qualifier: String, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
factoryWithRandomQualifier
Link copied to clipboard
inline fun <T : Any> <Error class: unknown class>.factoryWithRandomQualifier(noinline definition: <Error class: unknown class><T>): <Error class: unknown class>

Will be useful in case you need to declare some singles with one type several types, but need to separate them and do not care about how :)

factoryWithRandomQualifierAndBinds
Link copied to clipboard
inline fun <T : Any> Module.factoryWithRandomQualifierAndBinds(bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
inline fun <T : Any> Module.factoryWithRandomQualifierAndBinds(bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
getAllDistinct
Link copied to clipboard
inline fun <T : Any> <Error class: unknown class>.getAllDistinct(): <Error class: unknown class>
inline fun <T : Any> <Error class: unknown class>.getAllDistinct(): <Error class: unknown class>
getAny
Link copied to clipboard
inline fun <T : Any> <Error class: unknown class>.getAny(): <Error class: unknown class>
inline fun <T : Any> <Error class: unknown class>.getAny(): <Error class: unknown class>
RandomQualifier
Link copied to clipboard
fun RandomQualifier(randomFun: () -> String = { uuid4().toString() }): <Error class: unknown class>
single
Link copied to clipboard
inline fun <T : Any> <Error class: unknown class>.single(qualifier: String, createdAtStart: Boolean = false, noinline definition: <Error class: unknown class><T>): <Error class: unknown class>
singleWithBinds
Link copied to clipboard
inline fun <T : Any> Module.singleWithBinds(qualifier: <Error class: unknown class>? = null, createdAtStart: Boolean = false, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
inline fun <T : Any> Module.singleWithBinds(qualifier: String, createdAtStart: Boolean = false, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
inline fun <T : Any> Module.singleWithBinds(qualifier: <Error class: unknown class>? = null, createdAtStart: Boolean = false, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
inline fun <T : Any> Module.singleWithBinds(qualifier: String, createdAtStart: Boolean = false, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
singleWithRandomQualifier
Link copied to clipboard
inline fun <T : Any> <Error class: unknown class>.singleWithRandomQualifier(createdAtStart: Boolean = false, noinline definition: <Error class: unknown class><T>): <Error class: unknown class>

Will be useful in case you need to declare some singles with one type several types, but need to separate them and do not care about how :)

singleWithRandomQualifierAndBinds
Link copied to clipboard
inline fun <T : Any> Module.singleWithRandomQualifierAndBinds(createdAtStart: Boolean = false, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>
inline fun <T : Any> Module.singleWithRandomQualifierAndBinds(createdAtStart: Boolean = false, bindFilter: (KClass<*>) -> Boolean = { true }, noinline definition: <Error class: unknown class><T>): Pair<Module, <Error class: unknown class><out <Error class: unknown class>>>