commonMain.com.badoo.reaktive.utils.atomic.AtomicReference.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.atomic
import com.badoo.reaktive.utils.InternalReaktiveApi
@InternalReaktiveApi
expect class AtomicReference(initialValue: T) {
var value: T
fun getAndSet(newValue: T): T
fun compareAndSet(expectedValue: T, newValue: T): Boolean
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy