Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface SuspendLazy<out T> : Lazy<T>
Link copied to clipboard
object TimeUtils

Functions

Link copied to clipboard
fun getKoin(): Koin

Retrieve the current Koin instance.

Link copied to clipboard
fun loadModule(createdAtStart: Boolean = false, moduleDeclaration: ModuleDeclaration): Module

Wrapper for org.koin.dsl.module that immediately loads the module for the current Koin instance.

Link copied to clipboard
fun now(): Instant
Link copied to clipboard
fun <T> suspendBlockingLazy(dispatcher: CoroutineDispatcher = Dispatchers.Default, initializer: suspend () -> T): SuspendLazy<T>
Link copied to clipboard
fun <T> CoroutineScope.suspendLazy(context: CoroutineContext = EmptyCoroutineContext, initializer: suspend CoroutineScope.() -> T): SuspendLazy<T>

Properties

Link copied to clipboard
@get:JvmName(name = "getKoinInline")
val koin: Koin
Link copied to clipboard