Package-level declarations

Functions

Link copied to clipboard
suspend fun Koin.awaitAllStartJobs()

Wait for Starting coroutines jobs to finish

Link copied to clipboard

Indicates if all start jobs have been done

Link copied to clipboard
fun KoinApplication.lazyModules(vararg moduleList: Lazy<Module>, dispatcher: CoroutineDispatcher? = null)
fun KoinApplication.lazyModules(moduleList: List<Lazy<Module>>, dispatcher: CoroutineDispatcher? = null)

Load asynchronously in background, a list of Lazy Module uses background coroutine to load modules

Link copied to clipboard
suspend fun Koin.onKoinStarted(block: suspend (Koin) -> Unit)

Wait for Starting coroutines jobs to run block code

Link copied to clipboard
fun Koin.runOnKoinStarted(block: suspend (Koin) -> Unit)

Wait for Starting coroutines jobs to run block code

Link copied to clipboard
fun Koin.waitAllStartJobs()

Wait for Starting coroutines jobs to finish using runBlocking