sealed
trait
Exit[+E, +A] extends Product with Serializable
Abstract Value Members
-
abstract
def
canEqual(that: Any): Boolean
-
abstract
def
productArity: Int
-
abstract
def
productElement(n: Int): Any
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
final
def
bimap[E1, A1](f: (E) ⇒ E1, g: (A) ⇒ A1): Exit[E1, A1]
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
final
def
flatMap[E1 >: E, A1](f: (A) ⇒ Exit[E1, A1]): Exit[E1, A1]
-
final
def
fold[Z](failed: (Cause[E]) ⇒ Z, completed: (A) ⇒ Z): Z
-
final
def
foldM[E1, B](failed: (Cause[E]) ⇒ IO[E1, B], completed: (A) ⇒ IO[E1, B]): IO[E1, B]
-
final
def
getClass(): Class[_]
-
final
def
getOrElse[A1 >: A](orElse: (Cause[E]) ⇒ A1): A1
-
def
hashCode(): Int
-
final
def
interrupted: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
map[A1](f: (A) ⇒ A1): Exit[E, A1]
-
final
def
mapError[E1](f: (E) ⇒ E1): Exit[E1, A]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
productIterator: Iterator[Any]
-
def
productPrefix: String
-
final
def
succeeded: Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
toEither: Either[Throwable, A]
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
zip[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (A, B)]
-
final
def
zipPar[E1 >: E, B](that: Exit[E1, B]): Exit[E1, (A, B)]
-
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]
An
Exit[E, A]
describes the result of executing anIO
value. The result is either succeeded with a valueA
, or failed with aCause[E]
.