object Exit extends Serializable
- Alphabetic
- By Inheritance
- Exit
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- 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.
- 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
- 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.
- def die(t: Throwable): Exit[Nothing, Nothing]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fail[E](error: E): Exit[E, Nothing]
- def failCause[E](cause: Cause[E]): Exit[E, Nothing]
- def flatten[E, A](exit: Exit[E, Exit[E, A]]): Exit[E, A]
- def fromEither[E, A](e: Either[E, A]): Exit[E, A]
- def fromOption[A](o: Option[A]): Exit[Unit, A]
- def fromTry[A](t: Try[A]): Exit[Throwable, A]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def interrupt(id: FiberId): Exit[Nothing, Nothing]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 succeed[A](a: A): Exit[Nothing, A]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val unit: Exit[Nothing, Unit]
- 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()