jvmCommonMain.com.badoo.reaktive.utils.lock.Lock.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.lock
import com.badoo.reaktive.utils.InternalReaktiveApi
@InternalReaktiveApi
actual open class Lock {
actual inline fun synchronized(block: () -> T): T =
synchronized(lock = this, block = block)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy