Class StateFlowKt
-
- All Implemented Interfaces:
public final class StateFlowKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any, K extends Any> StateFlow<K>mapState(StateFlow<T> $self, CoroutineScope scope, Function1<T, K> transform)final static <T extends Any, K extends Any> StateFlow<K>mapState(StateFlow<T> $self, CoroutineScope scope, K initialValue, SuspendFunction1<T, K> transform)-
-
Method Detail
-
mapState
final static <T extends Any, K extends Any> StateFlow<K> mapState(StateFlow<T> $self, CoroutineScope scope, Function1<T, K> transform)
-
mapState
final static <T extends Any, K extends Any> StateFlow<K> mapState(StateFlow<T> $self, CoroutineScope scope, K initialValue, SuspendFunction1<T, K> transform)
-
-
-
-