Class/Object

scalaz.zio

ExitResult

Related Docs: object ExitResult | package zio

Permalink

sealed abstract class ExitResult[+E, +A] extends Product with Serializable

An ExitResult[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
ExitResult[E, A]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExitResult
  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

    Permalink
    Definition Classes
    Equals
  2. abstract def productArity: Int

    Permalink
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product

Concrete 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 ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def bimap[E1, A1](f: (E) ⇒ E1, g: (A) ⇒ A1): ExitResult[E1, A1]

    Permalink

    Maps over both the error and value type.

  6. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def flatMap[E1 >: E, A1](f: (A) ⇒ ExitResult[E1, A1]): ExitResult[E1, A1]

    Permalink

    Flat maps over the value ty pe.

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

    Permalink

    Folds over the value or cause.

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def getOrElse[A1 >: A](orElse: (Cause[E]) ⇒ A1): A1

    Permalink

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

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def interrupted: Boolean

    Permalink

    Determines if the result is interrupted.

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def leftMap[E1](f: (E) ⇒ E1): ExitResult[E1, A]

    Permalink

    Maps over the error type.

  18. final def map[A1](f: (A) ⇒ A1): ExitResult[E, A1]

    Permalink

    Maps over the value type.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  23. def productPrefix: String

    Permalink
    Definition Classes
    Product
  24. final def redeem[E1, B](failed: (Cause[E]) ⇒ IO[E1, B], completed: (A) ⇒ IO[E1, B]): IO[E1, B]

    Permalink

    Effectfully folds over the value or cause.

  25. final def succeeded: Boolean

    Permalink

    Determines if the result is a success.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. final def toEither: Either[Throwable, A]

    Permalink

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

  28. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def zip[E1 >: E, B](that: ExitResult[E1, B]): ExitResult[E1, (A, B)]

    Permalink

    Zips this result together with the specified result.

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

    Permalink

    Zips this result together with the specified result, in parallel.

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

    Permalink

    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