-
public final class StateFlowKt
-
-
Method Summary
Modifier and Type Method Description final static <I extends Any, O extends Any> StateFlow<O>
transformState(StateFlow<I> $self, CoroutineScope scope, Function1<I, O> transformer)
Transforms the value of a state flow, so long as the scope is active. -
-
Method Detail
-
transformState
final static <I extends Any, O extends Any> StateFlow<O> transformState(StateFlow<I> $self, CoroutineScope scope, Function1<I, O> transformer)
Transforms the value of a state flow, so long as the scope is active.
-
-
-
-