jsAndWasmSharedMain.internal.Synchronized.kt Maven / Gradle / Ivy
package kotlinx.coroutines.internal
import kotlinx.coroutines.*
/**
* @suppress **This an internal API and should not be used from general code.**
*/
@InternalCoroutinesApi
public actual open class SynchronizedObject
/**
* @suppress **This an internal API and should not be used from general code.**
*/
@InternalCoroutinesApi
public actual inline fun synchronizedImpl(lock: SynchronizedObject, block: () -> T): T = block()