Packages

object Exit extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Exit
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Failure[+E](cause: Cause[E]) extends Exit[E, Nothing] with Product with Serializable
  2. final case class Success[+A](value: A) extends Exit[Nothing, A] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def collectAll[E, A](exits: Iterable[Exit[E, A]]): Option[Exit[E, List[A]]]

    Collects all Exits, and returns a List of the values if all Exits succeeded, or combines the causes sequentially in case of failures.

    Collects all Exits, and returns a List of the values if all Exits succeeded, or combines the causes sequentially in case of failures. Returns None in case the input iterable is empty

    See also

    collectAllParDiscard For a more performant variant that discard the successful values

  7. def collectAllDiscard[E, A](exits: Iterable[Exit[E, A]]): Exit[E, Unit]

    Collects all Exits, and succeeds with Unit if all Exits succeeded, or combines the causes sequentially in case of failures.

  8. def collectAllPar[E, A](exits: Iterable[Exit[E, A]]): Option[Exit[E, List[A]]]

    Collects all Exits, and returns a List of the values if all Exits succeeded, or combines the causes in parallel in case of failures.

    Collects all Exits, and returns a List of the values if all Exits succeeded, or combines the causes in parallel in case of failures. Returns None in case the input iterable is empty

    See also

    collectAllParDiscard For a more performant variant that discard the successful values

  9. def collectAllParDiscard[E, A](exits: Iterable[Exit[E, A]]): Exit[E, Unit]

    Collects all Exits, and succeeds with Unit if all Exits succeeded, or combines the causes in parallel in case of failures.

  10. def die(t: Throwable): Exit[Nothing, Nothing]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def fail[E](error: E): Exit[E, Nothing]
  14. def failCause[E](cause: Cause[E]): Exit[E, Nothing]
  15. def flatten[E, A](exit: Exit[E, Exit[E, A]]): Exit[E, A]
  16. def fromEither[E, A](e: Either[E, A]): Exit[E, A]
  17. def fromOption[A](o: Option[A]): Exit[Unit, A]
  18. def fromTry[A](t: Try[A]): Exit[Throwable, A]
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def interrupt(id: FiberId): Exit[Nothing, Nothing]
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def succeed[A](a: A): Exit[Nothing, A]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. val unit: Exit[Nothing, Unit]
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped