Package-level declarations
Functions
Declares a factory with a string qualifier in the Koin module. This is a convenience function that wraps the string qualifier in a StringQualifier. Unlike singles, factories create a new instance each time they are requested.
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.
Retrieves an instance of type T from the Koin container using a BeanDefinition.
Retrieves an instance of type T from the Koin container using an InstanceFactory.
Retrieves an instance of type T from the Koin container using a KoinDefinition.
Retrieves an instance of type T from the current scope using a BeanDefinition.
Retrieves an instance of type T from the current scope using an InstanceFactory.
Retrieves an instance of type T from the current scope using a KoinDefinition.
Retrieves all instances of type T from the Koin container and returns them as a distinct list. This function is useful when you want to avoid duplicate instances of the same type.
Retrieves all instances of type T from the current Scope and returns them as a distinct list. This function is useful when you want to avoid duplicate instances of the same type.
Retrieves the first available instance of type T from the Koin container. This is useful when you need any instance of a type and don't care which one.
Retrieves the first available instance of type T from the current scope. This is useful when you need any instance of a type and don't care which one.
Creates a StringQualifier with a random string value.
Declares a single instance with a string qualifier in the Koin module. This is a convenience function that wraps the string qualifier in a StringQualifier.
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.