Packages

sealed trait ParSeq[+Z <: Unit, +A] extends AnyRef

ParSeq is a data type that represents some notion of "events" that can take place in parallel or in sequence. For example, a ParSeq parameterized on some error type could be used to model the potentially multiple ways that an application can fail. On the other hand, a ParSeq parameterized on some request type could be used to model a collection of requests to external data sources, some of which could be executed in parallel and some of which must be executed sequentially.

Self Type
ParSeq[Z, A]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParSeq
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def &&[Z1 >: Z <: Unit, A1 >: A](that: ParSeq[Z1, A1]): ParSeq[Z1, A1]

    Combines this collection of events with that collection of events to return a new collection of events that represents this collection of events in parallel with that collection of events.

  2. final def *>[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, B]

    A symbolic alias for zipRight.

  3. final def ++[Z1 >: Z <: Unit, A1 >: A](that: ParSeq[Z1, A1]): ParSeq[Z1, A1]

    Combines this collection of events with that collection of events to return a new collection of events that represents this collection of events followed by that collection of events.

  4. final def <*[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, A]

    A symbolic alias for zipLeft.

  5. final def <*>[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, (A, B)]

    A symbolic alias for zip.

  6. final def as[B](b: B): ParSeq[Z, B]

    Maps the events in this collection of events to the specified constant value.

  7. final def first(implicit ev: <:<[Z, Nothing]): A

    Returns the first event in this collection of events.

    Returns the first event in this collection of events. If multiple events occur in parallel and before any other events then any of these events may be returned.

    Annotations
    @tailrec()
  8. final def flatMap[Z1 >: Z <: Unit, B](f: (A) => ParSeq[Z1, B]): ParSeq[Z1, B]

    Constructs a new collection of events for each event in this collection of events, collecting them back into a single collection of events.

  9. final def flatten[Z1 >: Z <: Unit, B](implicit ev: <:<[A, ParSeq[Z1, B]]): ParSeq[Z1, B]

    Flattens a collection of collections of events into a single collection of events.

  10. final def fold[B](emptyCase: B, singleCase: (A) => B)(thenCase: (B, B) => B, bothCase: (B, B) => B): B

    Folds over the events in this collection of events using the specified functions.

  11. final def forEach[F[+_], B](f: (A) => F[B])(implicit arg0: IdentityBoth[F], arg1: Covariant[F]): F[ParSeq[Z, B]]

    Performs the specified effectual function for each event in this collection of events, collecting them back into a single collection of events.

  12. final def map[B](f: (A) => B): ParSeq[Z, B]

    Transforms the type of events in this collection of events with the specified function.

  13. final def toCause: Cause[A]
  14. final def toNonEmptyMultiSet(implicit ev: <:<[Z, Nothing]): NonEmptyMultiSet[A]

    Converts this collection of events to a NonEmptyMultiSet of events, discarding information about the sequential structure of events.

  15. final def zip[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, (A, B)]

    Combines this collection of events with that collection of events to return the Cartesian product of events, combining the elements into a tuple.

  16. final def zipLeft[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, A]

    Combines this collection of events with that collection of events to return the Cartesian product of events, keeping only the events from this collection.

  17. final def zipRight[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, B]

    Combines this collection of events with that collection of events to return the Cartesian product of events, keeping only the events from that collection.

  18. final def zipWith[Z1 >: Z <: Unit, B, C](that: ParSeq[Z1, B])(f: (A, B) => C): ParSeq[Z1, C]

    Combines this collection of events with that collection of events to return the Cartesian product of events using the specified function.