Class DerivedStateFlow
-
- All Implemented Interfaces:
-
kotlinx.coroutines.flow.Flow,kotlinx.coroutines.flow.SharedFlow,kotlinx.coroutines.flow.StateFlow
public final class DerivedStateFlow<T extends Object> implements StateFlow<T>
Does not produce the same value in a raw, so respect "distinct until changed emissions" https://github.com/Kotlin/kotlinx.coroutines/issues/2631#issuecomment-870565860
-
-
Field Summary
Fields Modifier and Type Field Description private final List<T>replayCacheprivate final Tvalue
-
Constructor Summary
Constructors Constructor Description DerivedStateFlow(Function0<T> getValue, Flow<T> flow)
-