Class StateFlowKt
-
- All Implemented Interfaces:
public final class StateFlowKt
-
-
Method Summary
Modifier and Type Method Description final static <T1 extends Any, R extends Any> StateFlow<R>mapState(StateFlow<T1> $self, Function1<T1, R> transform)final static <T1 extends Any, T2 extends Any, R extends Any> StateFlow<R>combineStates(StateFlow<T1> flow, StateFlow<T2> flow2, Function2<T1, T2, R> transform)-
-
Method Detail
-
mapState
final static <T1 extends Any, R extends Any> StateFlow<R> mapState(StateFlow<T1> $self, Function1<T1, R> transform)
-
combineStates
final static <T1 extends Any, T2 extends Any, R extends Any> StateFlow<R> combineStates(StateFlow<T1> flow, StateFlow<T2> flow2, Function2<T1, T2, R> transform)
-
-
-
-