orbit-util / orbit.util.concurrent / HashMapBackedAsyncMap / compareAndSet

compareAndSet

open suspend fun compareAndSet(key: K, initialValue: V?, newValue: V?): Boolean