Konstantin
1 year ago
committed by
GitHub
5 changed files with 11 additions and 21 deletions
@ -1,9 +0,0 @@ |
|||||||
package org.jetbrains.compose.resources |
|
||||||
|
|
||||||
import kotlinx.coroutines.CoroutineDispatcher |
|
||||||
import kotlinx.coroutines.DelicateCoroutinesApi |
|
||||||
import kotlinx.coroutines.ExperimentalCoroutinesApi |
|
||||||
import kotlinx.coroutines.newSingleThreadContext |
|
||||||
|
|
||||||
@OptIn(ExperimentalCoroutinesApi::class, DelicateCoroutinesApi::class) |
|
||||||
internal actual val cacheDispatcher: CoroutineDispatcher = newSingleThreadContext("resources_cache_ctx") |
|
@ -1,10 +1,6 @@ |
|||||||
package org.jetbrains.compose.resources |
package org.jetbrains.compose.resources |
||||||
|
|
||||||
import kotlinx.coroutines.CoroutineDispatcher |
|
||||||
|
|
||||||
internal typealias ResourceId = String |
internal typealias ResourceId = String |
||||||
|
|
||||||
@RequiresOptIn("This API is experimental and is likely to change in the future.") |
@RequiresOptIn("This API is experimental and is likely to change in the future.") |
||||||
annotation class ExperimentalResourceApi |
annotation class ExperimentalResourceApi |
||||||
|
|
||||||
internal expect val cacheDispatcher: CoroutineDispatcher |
|
Loading…
Reference in new issue