Class MapperKt

  • All Implemented Interfaces:

    
    public final class MapperKt
    
                        
    • 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
    • Constructor Detail

    • Method Detail

      • parallelMap

         final static <T extends Any, R extends Any> List<R> parallelMap(Collection<T> $self, OperationContext context, Integer concurrencyLevel, CoroutineDispatcher dispatcher, SuspendFunction1<T, R> transform)

        Map parallel. Block on all results

        Parameters:
        context - the operation context
        concurrencyLevel - the maximum number of concurrent operations
        dispatcher - the coroutine dispatcher to use for parallel execution
        transform - the transformation function to apply to each element