singleWithRandomQualifier
inline fun <T : Any> <Error class: unknown class>.singleWithRandomQualifier( createdAtStart: Boolean = false, noinline definition: <Error class: unknown class><T>): <Error class: unknown class>(source)
Declares a single instance with a random qualifier in the Koin module. This is useful when you need to declare multiple instances of the same type but want them to be uniquely identifiable without manually specifying qualifiers.
Return
A Koin definition for the single instance with a random qualifier
Parameters
T
The type of instance to be created
createdAtStart
Whether the instance should be created when the Koin module starts (default: false)
definition
The definition function that creates the instance