trait Concurrent2[F[+_, +_]] extends Parallel2[F]
- Alphabetic
- By Inheritance
- Concurrent2
- 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: Panic2[F]
- Definition Classes
- Concurrent2 → Parallel2
- abstract def never: F[Nothing, Nothing]
- abstract def parTraverse[E, A, B](l: Iterable[A])(f: (A) => F[E, B]): F[E, List[B]]
- Definition Classes
- Parallel2
- abstract def parTraverseN[E, A, B](maxConcurrent: Int)(l: Iterable[A])(f: (A) => F[E, B]): F[E, List[B]]
- Definition Classes
- Parallel2
- 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 processorparTraverseN with
maxConcurrent
set to the number of cores, or 2 when on single-core processor- Definition Classes
- Parallel2
- abstract def race[E, A](r1: F[E, A], r2: F[E, A]): F[E, A]
Race two actions, the winner is the first action to TERMINATE, whether by success or failure
- abstract def racePairUnsafe[E, A, B](fa: F[E, A], fb: F[E, B]): F[E, Either[(Exit[E, A], Fiber2[F, E, B]), (Fiber2[F, E, A], Exit[E, B])]]
Race two actions, the winner is the first action to TERMINATE, whether by success or failure
Race two actions, the winner is the first action to TERMINATE, whether by success or failure
Unlike race, the loser is not interrupted after the winner has terminated - whether by success or failure.
- abstract def yieldNow: F[Nothing, Unit]
- 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.- Definition Classes
- Parallel2
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]
- Definition Classes
- Parallel2
- def parTraverseN_[E, A, B](maxConcurrent: Int)(l: Iterable[A])(f: (A) => F[E, B]): F[E, Unit]
- Definition Classes
- Parallel2
- def parTraverse_[E, A, B](l: Iterable[A])(f: (A) => F[E, B]): F[E, Unit]
- Definition Classes
- Parallel2
- 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.
- Definition Classes
- Parallel2
- 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.
- Definition Classes
- Parallel2
- 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.
- Definition Classes
- Parallel2