All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tofu.BoundedParallel.scala Maven / Gradle / Ivy

There is a newer version: 0.13.6
Show newest version
package tofu

import cats.Traverse
import tofu.internal.EffectComp
import tofu.internal.instances.BoundedParallelInstance

trait BoundedParallel[F[_]] {
  def parTraverse[T[_]: Traverse, A, B](in: T[A])(f: A => F[B]): F[T[B]]

  def parTraverseN[T[_]: Traverse, A, B](in: T[A], n: Int)(f: A => F[B]): F[T[B]]
}

object BoundedParallel extends BoundedParallelInstance with EffectComp[BoundedParallel]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy