final case class Success[A](value: A) extends Exit[Nothing, A] with Product with Serializable
- Alphabetic
- By Inheritance
- Success
- Exit
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Success(value: A)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def &>[E1 >: Nothing, 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]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
- final def *>[E1 >: Nothing, 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]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
- final def <&[E1 >: Nothing, 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]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
- final def <&>[E1 >: Nothing, 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]Parallelly zips the this result with the specified result or else returns the failed
Cause[E1]- Definition Classes
- Exit
- final def <*[E1 >: Nothing, 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]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
- final def <*>[E1 >: Nothing, 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]Sequentially zips the this result with the specified result or else returns the failed
Cause[E1]- Definition Classes
- Exit
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def bimap[E1, A1](f: (Nothing) => E1, g: (A) => A1): Exit[E1, A1]
Maps over both the error and value type.
Maps over both the error and value type.
- Definition Classes
- Exit
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def const[B](b: B): Exit[Nothing, B]
Replaces the value with the one provided.
Replaces the value with the one provided.
- Definition Classes
- Exit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def flatMap[E1 >: Nothing, A1](f: (A) => Exit[E1, A1]): Exit[E1, A1]
Flat maps over the value type.
Flat maps over the value type.
- Definition Classes
- Exit
- final def fold[Z](failed: (zio.Cause[Nothing]) => Z, completed: (A) => Z): Z
Folds over the value or cause.
Folds over the value or cause.
- Definition Classes
- Exit
- final def foldM[R, E1, B](failed: (zio.Cause[Nothing]) => 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]Sequentially zips the this result with the specified result or else returns the failed
Cause[E1]- Definition Classes
- Exit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def getOrElse[A1 >: A](orElse: (zio.Cause[Nothing]) => A1): A1
Retrieves the
Aif succeeded, or else returns the specified defaultA.Retrieves the
Aif succeeded, or else returns the specified defaultA.- Definition Classes
- Exit
- final def interrupted: Boolean
Determines if the result is interrupted.
Determines if the result is interrupted.
- Definition Classes
- Exit
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def map[A1](f: (A) => A1): Exit[Nothing, A1]
Maps over the value type.
Maps over the value type.
- Definition Classes
- Exit
- final def mapError[E1](f: (Nothing) => E1): Exit[E1, A]
Maps over the error type.
Maps over the error type.
- Definition Classes
- Exit
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def succeeded: Boolean
Determines if the result is a success.
Determines if the result is a success.
- Definition Classes
- Exit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toEither: Either[Throwable, A]
Converts the
Exitto anEither[Throwable, A], by wrapping the cause inFiberFailure(if the result is failed).Converts the
Exitto anEither[Throwable, A], by wrapping the cause inFiberFailure(if the result is failed).- Definition Classes
- Exit
- final def unit: Exit[Nothing, Unit]
Discards the value.
Discards the value.
- Definition Classes
- Exit
- val value: A
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def zip[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, (A, B)]
Named alias for
<*>.Named alias for
<*>.- Definition Classes
- Exit
- final def zipLeft[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, A]
Named alias for
<*.Named alias for
<*.- Definition Classes
- Exit
- final def zipPar[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, (A, B)]
Named alias for
<&>.Named alias for
<&>.- Definition Classes
- Exit
- final def zipParLeft[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, A]
Named alias for
<&.Named alias for
<&.- Definition Classes
- Exit
- final def zipParRight[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, B]
Named alias for
&>.Named alias for
&>.- Definition Classes
- Exit
- final def zipRight[E1 >: Nothing, B](that: Exit[E1, B]): Exit[E1, B]
Named alias for
*>.Named alias for
*>.- Definition Classes
- Exit
- final def zipWith[E1 >: Nothing, B, C](that: Exit[E1, B])(f: (A, B) => C, g: (zio.Cause[Nothing], zio.Cause[E1]) => zio.Cause[E1]): Exit[E1, C]
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