jvmMain.index_jvm.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of foundation Show documentation
Show all versions of foundation Show documentation
"Foundations for applications"
The newest version!
package de.peekandpoke.ultra.foundation
import de.peekandpoke.ultra.foundation.spacetime.Kronos
import de.peekandpoke.ultra.kontainer.KontainerBuilder
import de.peekandpoke.ultra.kontainer.module
@Suppress("unused")
fun KontainerBuilder.ultraFoundation() = module(Ultra_Foundation)
/**
* Ultra Foundation kontainer module
*
* Provides the following services:
*
* - Kronos: a global date and time source
*/
val Ultra_Foundation = module {
dynamic0(Kronos::class) { Kronos.systemUtc }
}