Package 

Class FlowKt

  • All Implemented Interfaces:

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

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