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 lazy modules asynchronously in parallel background coroutines.

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 all lazy module start jobs to complete, then run the given block.

Link copied to clipboard
fun Koin.waitAllStartJobs(dispatcher: CoroutineDispatcher = Dispatchers.Default)

Wait for all lazy module start jobs to complete using platform-specific blocking.