KorAtomicRef

open class KorAtomicRef<T> : KorAtomicBase<T>

Properties

Link copied to clipboard
open override var value: T

Functions

Link copied to clipboard
open override fun compareAndSet(expect: T, update: T): Boolean
Link copied to clipboard
inline operator fun <T> KorAtomicRef<T>.getValue(obj: Any, prop: KProperty<Any?>): T
Link copied to clipboard
inline operator fun <T> KorAtomicRef<T>.setValue(obj: Any, prop: KProperty<Any?>, v: T)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
inline fun <T> KorAtomicBase<T>.update(transform: (T) -> T): T