Trait/Object

zio.prelude

ParSeq

Related Docs: object ParSeq | package prelude

Permalink

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. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def &&[Z1 >: Z <: Unit, A1 >: A](that: ParSeq[Z1, A1]): ParSeq[Z1, A1]

    Permalink

    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.

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

    Permalink

    A symbolic alias for zipRight.

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

    Permalink

    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.

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

    Permalink

    A symbolic alias for zipLeft.

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

    Permalink

    A symbolic alias for zip.

  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def as[B](b: B): ParSeq[Z, B]

    Permalink

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

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def first(implicit ev: <:<[Z, Nothing]): A

    Permalink

    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()
  16. final def flatMap[Z1 >: Z <: Unit, B](f: (A) ⇒ ParSeq[Z1, B]): ParSeq[Z1, B]

    Permalink

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

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

    Permalink

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

  18. final def fold[B](emptyCase: B, singleCase: (A) ⇒ B)(thenCase: (B, B) ⇒ B, bothCase: (B, B) ⇒ B): B

    Permalink

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

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

    Permalink

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

  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def map[B](f: (A) ⇒ B): ParSeq[Z, B]

    Permalink

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

  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. final def toCause: Cause[A]

    Permalink
  29. final def toNonEmptyMultiSet(implicit ev: <:<[Z, Nothing]): NonEmptyMultiSet[A]

    Permalink

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

  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def zip[Z1 >: Z <: Unit, B](that: ParSeq[Z1, B]): ParSeq[Z1, (A, B)]

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

Inherited from AnyRef

Inherited from Any

Ungrouped