Package 

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

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