Packages

sealed trait Exit[+E, +A] extends Product with Serializable

An Exit[E, A] describes the result of executing an IO value. The result is either succeeded with a value A, or failed with a Cause[E].

Self Type
Exit[E, A]
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Exit
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def productArity: Int
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def &>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

    Parallelly zips the this result with the specified result discarding the first element of the tuple or else returns the failed Cause[E1]

  4. final def *>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

    Sequentially zips the this result with the specified result discarding the first element of the tuple or else returns the failed Cause[E1]

  5. final def <&[E1 >: E, B](that: Exit[E1, B]): Exit[E1, A]

    Parallelly zips the this result with the specified result discarding the second element of the tuple or else returns the failed Cause[E1]

  6. final def <&>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (A, B)]

    Parallelly zips the this result with the specified result or else returns the failed Cause[E1]

  7. final def <*[E1 >: E, B](that: Exit[E1, B]): Exit[E1, A]

    Sequentially zips the this result with the specified result discarding the second element of the tuple or else returns the failed Cause[E1]

  8. final def <*>[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (A, B)]

    Sequentially zips the this result with the specified result or else returns the failed Cause[E1]

  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. final def bimap[E1, A1](f: (E) ⇒ E1, g: (A) ⇒ A1): Exit[E1, A1]

    Maps over both the error and value type.

  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. final def const[B](b: B): Exit[E, B]

    Replaces the value with the one provided.

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def flatMap[E1 >: E, A1](f: (A) ⇒ Exit[E1, A1]): Exit[E1, A1]

    Flat maps over the value type.

  18. final def fold[Z](failed: (Cause[E]) ⇒ Z, completed: (A) ⇒ Z): Z

    Folds over the value or cause.

  19. final def foldM[R, E1, B](failed: (Cause[E]) ⇒ ZIO[R, E1, B], completed: (A) ⇒ ZIO[R, E1, B]): ZIO[R, E1, B]

    Sequentially zips the this result with the specified result or else returns the failed Cause[E1]

  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def getOrElse[A1 >: A](orElse: (Cause[E]) ⇒ A1): A1

    Retrieves the A if succeeded, or else returns the specified default A.

  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def interrupted: Boolean

    Determines if the result is interrupted.

  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def map[A1](f: (A) ⇒ A1): Exit[E, A1]

    Maps over the value type.

  26. final def mapError[E1](f: (E) ⇒ E1): Exit[E1, A]

    Maps over the error type.

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def productIterator: Iterator[Any]
    Definition Classes
    Product
  31. def productPrefix: String
    Definition Classes
    Product
  32. final def succeeded: Boolean

    Determines if the result is a success.

  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. final def toEither: Either[Throwable, A]

    Converts the Exit to an Either[Throwable, A], by wrapping the cause in FiberFailure (if the result is failed).

  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def unit: Exit[E, Unit]

    Discards the value.

  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  40. final def zip[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (A, B)]

    Named alias for <*>.

  41. final def zipLeft[E1 >: E, B](that: Exit[E1, B]): Exit[E1, A]

    Named alias for <*.

  42. final def zipPar[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (A, B)]

    Named alias for <&>.

  43. final def zipParLeft[E1 >: E, B](that: Exit[E1, B]): Exit[E1, A]

    Named alias for <&.

  44. final def zipParRight[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

    Named alias for &>.

  45. final def zipRight[E1 >: E, B](that: Exit[E1, B]): Exit[E1, B]

    Named alias for *>.

  46. final def zipWith[E1 >: E, B, C](that: Exit[E1, B])(f: (A, B) ⇒ C, g: (Cause[E], Cause[E1]) ⇒ Cause[E1]): Exit[E1, C]

    Zips this together with the specified result using the combination functions.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped