Class

zio.Exit

Success

Related Doc: package Exit

Permalink

final case class Success[+A](value: A) extends Exit[Nothing, A] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Success
  2. Exit
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Success(value: A)

    Permalink

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 &>[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, B]

    Permalink

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

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

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

    Permalink

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

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

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

    Permalink

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

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

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

    Permalink

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

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

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

    Permalink

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

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

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

    Permalink

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

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

    Definition Classes
    Exit
  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def as[B](b: B): Exit[Nothing, B]

    Permalink

    Replaces the success value with the one provided.

    Replaces the success value with the one provided.

    Definition Classes
    Exit
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. final def bimap[E1, A1](f: (Nothing) ⇒ E1, g: (A) ⇒ A1): Exit[E1, A1]

    Permalink

    Maps over both the error and value type.

    Maps over both the error and value type.

    Definition Classes
    Exit
  13. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  15. final def exists(p: (A) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Exit
  16. def finalize(): Unit

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

    Permalink

    Flat maps over the value type.

    Flat maps over the value type.

    Definition Classes
    Exit
  18. final def flatMapM[E1 >: Nothing, R, E2, A1](f: (A) ⇒ ZIO[R, E2, Exit[E1, A1]]): ZIO[R, E2, Exit[E1, A1]]

    Permalink

    Flat maps over the value type.

    Flat maps over the value type.

    Definition Classes
    Exit
  19. final def flatten[E1 >: Nothing, B](implicit ev: <:<[A, Exit[E1, B]]): Exit[E1, B]

    Permalink
    Definition Classes
    Exit
  20. final def fold[Z](failed: (Cause[Nothing]) ⇒ Z, completed: (A) ⇒ Z): Z

    Permalink

    Folds over the value or cause.

    Folds over the value or cause.

    Definition Classes
    Exit
  21. final def foldM[R, E1, B](failed: (Cause[Nothing]) ⇒ ZIO[R, E1, B], completed: (A) ⇒ ZIO[R, E1, B]): ZIO[R, E1, B]

    Permalink

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

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

    Definition Classes
    Exit
  22. final def foreach[R, E1 >: Nothing, B](f: (A) ⇒ ZIO[R, E1, B]): ZIO[R, Nothing, Exit[E1, B]]

    Permalink

    Applies the function f to the successful result of the Exit and returns the result in a new Exit.

    Applies the function f to the successful result of the Exit and returns the result in a new Exit.

    Definition Classes
    Exit
  23. final def getClass(): Class[_]

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

    Permalink

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

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

    Definition Classes
    Exit
  25. final def interrupted: Boolean

    Permalink

    Determines if the result is interrupted.

    Determines if the result is interrupted.

    Definition Classes
    Exit
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def map[A1](f: (A) ⇒ A1): Exit[Nothing, A1]

    Permalink

    Maps over the value type.

    Maps over the value type.

    Definition Classes
    Exit
  28. final def mapError[E1](f: (Nothing) ⇒ E1): Exit[E1, A]

    Permalink

    Maps over the error type.

    Maps over the error type.

    Definition Classes
    Exit
  29. final def mapErrorCause[E1](f: (Cause[Nothing]) ⇒ Cause[E1]): Exit[E1, A]

    Permalink

    Maps over the cause type.

    Maps over the cause type.

    Definition Classes
    Exit
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. final def orElseFail[E1](e1: ⇒ E1): Exit[E1, A]

    Permalink

    Replaces the error value with the one provided.

    Replaces the error value with the one provided.

    Definition Classes
    Exit
  34. final def succeeded: Boolean

    Permalink

    Determines if the result is a success.

    Determines if the result is a success.

    Definition Classes
    Exit
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

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

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

    Definition Classes
    Exit
  37. final def unit: Exit[Nothing, Unit]

    Permalink

    Discards the value.

    Discards the value.

    Definition Classes
    Exit
  38. final def untraced: Exit[Nothing, A]

    Permalink

    Returns an untraced exit value.

    Returns an untraced exit value.

    Definition Classes
    Exit
  39. val value: A

    Permalink
  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def zip[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, (A, B)]

    Permalink

    Named alias for <*>.

    Named alias for <*>.

    Definition Classes
    Exit
  44. final def zipLeft[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, A]

    Permalink

    Named alias for <*.

    Named alias for <*.

    Definition Classes
    Exit
  45. final def zipPar[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, (A, B)]

    Permalink

    Named alias for <&>.

    Named alias for <&>.

    Definition Classes
    Exit
  46. final def zipParLeft[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, A]

    Permalink

    Named alias for <&.

    Named alias for <&.

    Definition Classes
    Exit
  47. final def zipParRight[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, B]

    Permalink

    Named alias for &>.

    Named alias for &>.

    Definition Classes
    Exit
  48. final def zipRight[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, B]

    Permalink

    Named alias for *>.

    Named alias for *>.

    Definition Classes
    Exit
  49. final def zipWith[E1 >: Nothing, B, C](that: Exit[E1, B])(f: (A, B) ⇒ C, g: (Cause[Nothing], Cause[E1]) ⇒ Cause[E1]): Exit[E1, C]

    Permalink

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

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

    Definition Classes
    Exit

Inherited from Exit[Nothing, A]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped