Package-level declarations

Types

Link copied to clipboard

Delegates to global Koin instance (initialized with startKoin { ... } function).

Link copied to clipboard
class KoinApplicationDI(val app: KoinApplication) : KoinDI

Delegates to provided koin app.

Link copied to clipboard
interface KoinDI : KoinComponent, DispatchClosure.Element

Injects Koin into dispatch closure. It can be accessed by the Key from DispatchClosure or by koin property from DispatchScope.

Properties

Link copied to clipboard
val DispatchScope<*>.koin: Koin

Returns Koin instance associated with a store. It depends on KoinDI element injected into the closure.