commonMain.com.badoo.reaktive.utils.clock.DefaultClock.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utils-internal-jvm Show documentation
Show all versions of utils-internal-jvm Show documentation
Kotlin multi-platform implementation of Reactive Extensions
package com.badoo.reaktive.utils.clock
import com.badoo.reaktive.utils.InternalReaktiveApi
import kotlin.time.TimeSource
import kotlin.time.TimeSource.Monotonic.ValueTimeMark
@InternalReaktiveApi
object DefaultClock : Clock {
override val uptime: ValueTimeMark get() = TimeSource.Monotonic.markNow()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy