diff --git a/platform/util/coroutines/api-dump-experimental.txt b/platform/util/coroutines/api-dump-experimental.txt index 42c3571891a1..e8ffac5ac1af 100644 --- a/platform/util/coroutines/api-dump-experimental.txt +++ b/platform/util/coroutines/api-dump-experimental.txt @@ -37,13 +37,6 @@ f:com.intellij.platform.util.coroutines.CoroutineScopeKt f:com.intellij.platform.util.coroutines.flow.FlowKt - *sf:mapStateIn(kotlinx.coroutines.flow.StateFlow,kotlinx.coroutines.CoroutineScope,kotlinx.coroutines.flow.SharingStarted,kotlin.jvm.functions.Function1):kotlinx.coroutines.flow.StateFlow - *bs:mapStateIn$default(kotlinx.coroutines.flow.StateFlow,kotlinx.coroutines.CoroutineScope,kotlinx.coroutines.flow.SharingStarted,kotlin.jvm.functions.Function1,I,java.lang.Object):kotlinx.coroutines.flow.StateFlow -*f:com.intellij.platform.util.coroutines.flow.IncrementalUpdateFlowProducer -- (com.intellij.platform.util.coroutines.flow.MutableStateWithIncrementalUpdates):V -- f:getIncrementalUpdateFlow():kotlinx.coroutines.flow.Flow -- f:handleUpdate(java.lang.Object,kotlin.coroutines.Continuation):java.lang.Object -*:com.intellij.platform.util.coroutines.flow.MutableStateWithIncrementalUpdates -- a:applyUpdate(java.lang.Object,kotlin.coroutines.Continuation):java.lang.Object -- a:takeSnapshot(kotlin.coroutines.Continuation):java.lang.Object *:com.intellij.platform.util.coroutines.sync.OverflowSemaphore - a:withPermit(kotlin.jvm.functions.Function2,kotlin.coroutines.Continuation):java.lang.Object f:com.intellij.platform.util.coroutines.sync.OverflowSemaphoreKt diff --git a/platform/util/coroutines/src/flow/IncrementalUpdateFlowProducer.kt b/platform/util/coroutines/src/flow/IncrementalUpdateFlowProducer.kt index a9b641282d8c..d5108a1a1e27 100644 --- a/platform/util/coroutines/src/flow/IncrementalUpdateFlowProducer.kt +++ b/platform/util/coroutines/src/flow/IncrementalUpdateFlowProducer.kt @@ -19,7 +19,7 @@ import java.util.concurrent.atomic.AtomicLong * so they should not call [IncrementalUpdateFlowProducer.handleUpdate] * to avoid deadlocks. */ -@ApiStatus.Experimental +@ApiStatus.Internal interface MutableStateWithIncrementalUpdates { /** * Applies the given update to the state. @@ -72,7 +72,7 @@ interface MutableStateWithIncrementalUpdates { * and the frontend can connect at any moment and needs to receive the full state first * and then incremental updates to that state. */ -@ApiStatus.Experimental +@ApiStatus.Internal class IncrementalUpdateFlowProducer(private val state: MutableStateWithIncrementalUpdates) { private val updateVersion = AtomicLong() private val lock = Mutex()