deprecate FlowState

This commit is contained in:
InsanusMokrassar 2023-12-04 15:08:52 +06:00
parent 2bfd615812
commit f3f9920bfb
2 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,10 @@
## 0.20.18
* `Coroutines`:
* `Compose`:
* Deprecate `FlowState` due to its complexity in fixes
## 0.20.17
* `Versions`:

View File

@ -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)