deprecate FlowState

This commit is contained in:
InsanusMokrassar committed 2023-12-04 15:08:52 +06:00
1 parent 2bfd615812
commit f3f9920bfb
2 files changed
+5

No files matched your search

+4
View File
@@ -2,6 +2,10 @@
## 0.20.18
* `Coroutines`:
* `Compose`:
* Deprecate `FlowState` due to its complexity in fixes
## 0.20.17
* `Versions`:
@@ -12,6 +12,7 @@ import kotlinx.coroutines.Dispatchers
* This type works like [MutableState], [kotlinx.coroutines.flow.StateFlow] and [kotlinx.coroutines.flow.MutableSharedFlow].
* Based on [SpecialMutableStateFlow]
*/
@Deprecated("Will be removed soon")
class FlowState<T>(
initial: T,
internalScope: CoroutineScope = CoroutineScope(Dispatchers.Default)