Yokan / rebuild
Course 1 8624561

PlatformLock.kt

composeApp/src/commonMain/kotlin/eu/friedcutlet/yokan/util/PlatformLock.kt

implementation6 lines
1package eu.friedcutlet.yokan.util23/** Small re-entrant lock for synchronous state shared by coroutine and platform callbacks. */4internal expect class PlatformLock() {5    fun <T> withLock(block: () -> T): T6}7

Search chapters, reference and source filenames.