File tree 1 file changed +0
-3
lines changed
kmp-observableviewmodel-core/src/appleMain/kotlin/com/rickclephas/kmp/observableviewmodel 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ public actual fun <T> MutableStateFlow(
17
17
* A [MutableStateFlow] that triggers [ViewModelScopeImpl.sendObjectWillChange]
18
18
* and accounts for the [ViewModelScopeImpl.subscriptionCount].
19
19
*/
20
- @OptIn(ExperimentalForInheritanceCoroutinesApi ::class )
21
20
private class MutableStateFlowImpl <T >(
22
21
private val viewModelScope : ViewModelScopeImpl ,
23
22
private val stateFlow : MutableStateFlow <T >
@@ -68,7 +67,6 @@ private class MutableStateFlowImpl<T>(
68
67
/* *
69
68
* A [StateFlow] that combines the subscription counts of a [ViewModelScopeImpl] and [StateFlow].
70
69
*/
71
- @OptIn(ExperimentalForInheritanceCoroutinesApi ::class )
72
70
private class SubscriptionCountFlow (
73
71
private val viewModelScopeSubscriptionCount : StateFlow <Int >,
74
72
private val stateFlowSubscriptionCount : StateFlow <Int >
@@ -141,7 +139,6 @@ private fun <T> CoroutineScope.launchSharing(
141
139
* Similar to the kotlinx.coroutines implementation, used to return a read-only StateFlow with an optional Job.
142
140
* https://github.com/Kotlin/kotlinx.coroutines/blob/6dfabf763fe9fc91fbb73eb0f2d5b488f53043f1/kotlinx-coroutines-core/common/src/flow/operators/Share.kt#L379
143
141
*/
144
- @OptIn(ExperimentalForInheritanceCoroutinesApi ::class )
145
142
private class ReadonlyStateFlow <T >(
146
143
flow : StateFlow <T >,
147
144
@Suppress(" unused" )
You can’t perform that action at this time.
0 commit comments