mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-04-06 18:00:27 +00:00
deprecate FlowState
This commit is contained in:
parent
2bfd615812
commit
f3f9920bfb
CHANGELOG.md
coroutines/compose/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/compose
@ -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…
x
Reference in New Issue
Block a user