Package 

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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.