mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-18 14:47:15 +00:00
deprecate FlowState
This commit is contained in:
parent
2bfd615812
commit
f3f9920bfb
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## 0.20.18
|
## 0.20.18
|
||||||
|
|
||||||
|
* `Coroutines`:
|
||||||
|
* `Compose`:
|
||||||
|
* Deprecate `FlowState` due to its complexity in fixes
|
||||||
|
|
||||||
## 0.20.17
|
## 0.20.17
|
||||||
|
|
||||||
* `Versions`:
|
* `Versions`:
|
||||||
|
@ -12,6 +12,7 @@ import kotlinx.coroutines.Dispatchers
|
|||||||
* This type works like [MutableState], [kotlinx.coroutines.flow.StateFlow] and [kotlinx.coroutines.flow.MutableSharedFlow].
|
* This type works like [MutableState], [kotlinx.coroutines.flow.StateFlow] and [kotlinx.coroutines.flow.MutableSharedFlow].
|
||||||
* Based on [SpecialMutableStateFlow]
|
* Based on [SpecialMutableStateFlow]
|
||||||
*/
|
*/
|
||||||
|
@Deprecated("Will be removed soon")
|
||||||
class FlowState<T>(
|
class FlowState<T>(
|
||||||
initial: T,
|
initial: T,
|
||||||
internalScope: CoroutineScope = CoroutineScope(Dispatchers.Default)
|
internalScope: CoroutineScope = CoroutineScope(Dispatchers.Default)
|
||||||
|
Loading…
Reference in New Issue
Block a user