-
- All Implemented Interfaces:
public final class FlowKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any, M extends Any> StateFlow<M>mapStateIn(StateFlow<T> $self, CoroutineScope coroutineScope, Function1<T, M> transform)Transforms the value of a StateFlow and stores it in a new StateFlow using the given coroutineScope. -
-
Method Detail
-
mapStateIn
final static <T extends Any, M extends Any> StateFlow<M> mapStateIn(StateFlow<T> $self, CoroutineScope coroutineScope, Function1<T, M> transform)
Transforms the value of a StateFlow and stores it in a new StateFlow using the given coroutineScope.
-
-
-
-