Class StateFlowKt

  • All Implemented Interfaces:

    
    public final class StateFlowKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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
    • Constructor Detail

    • 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)