factoryWithRandomQualifier
inline fun <T : Any> <Error class: unknown class>.factoryWithRandomQualifier( noinline definition: <Error class: unknown class><T>): <Error class: unknown class>(source)
Declares a factory with a random qualifier in the Koin module. This is useful when you need to declare multiple factory definitions of the same type but want them to be uniquely identifiable without manually specifying qualifiers. Unlike singles, factories create a new instance each time they are requested.
Return
A Koin definition for the factory with a random qualifier
Parameters
T
The type of instance to be created by the factory
definition
The definition function that creates new instances