trait Parallel2[F[+_, +_]] extends RootBifunctor[F]
- Alphabetic
- By Inheritance
- Parallel2
- RootBifunctor
- Root
- PredefinedHelper
- DivergenceHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Divergence = Nondivergent
- Definition Classes
- DivergenceHelper
- type IsPredefined = NotPredefined
- Definition Classes
- PredefinedHelper
Abstract Value Members
- abstract def InnerF: Monad2[F]
- abstract def parTraverse[E, A, B](l: Iterable[A])(f: (A) => F[E, B]): F[E, List[B]]
- abstract def parTraverseN[E, A, B](maxConcurrent: Int)(l: Iterable[A])(f: (A) => F[E, B]): F[E, List[B]]
- abstract def parTraverseNCore[E, A, B](l: Iterable[A])(f: (A) => F[E, B]): F[E, List[B]]
parTraverseN with
maxConcurrent
set to the number of cores, or 2 when on single-core processor - abstract def zipWithPar[E, A, B, C](fa: F[E, A], fb: F[E, B])(f: (A, B) => C): F[E, C]
Returns an effect that executes both effects, in parallel, combining their results with the specified
f
function.Returns an effect that executes both effects, in parallel, combining their results with the specified
f
function. If either side fails, then the other side will be interrupted.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parTraverseNCore_[E, A, B](l: Iterable[A])(f: (A) => F[E, B]): F[E, Unit]
- def parTraverseN_[E, A, B](maxConcurrent: Int)(l: Iterable[A])(f: (A) => F[E, B]): F[E, Unit]
- def parTraverse_[E, A, B](l: Iterable[A])(f: (A) => F[E, B]): F[E, Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def zipPar[E, A, B](fa: F[E, A], fb: F[E, B]): F[E, (A, B)]
Returns an effect that executes both effects, in parallel, combining their results into a tuple.
Returns an effect that executes both effects, in parallel, combining their results into a tuple. If either side fails, then the other side will be interrupted.
- def zipParLeft[E, A, B](fa: F[E, A], fb: F[E, B]): F[E, A]
Returns an effect that executes both effects, in parallel, the left effect result is returned.
Returns an effect that executes both effects, in parallel, the left effect result is returned. If either side fails, then the other side will be interrupted.
- def zipParRight[E, A, B](fa: F[E, A], fb: F[E, B]): F[E, B]
Returns an effect that executes both effects, in parallel, the right effect result is returned.
Returns an effect that executes both effects, in parallel, the right effect result is returned. If either side fails, then the other side will be interrupted.