Packages

final case class Outcome[+A](result: A) extends UnlessShutdown[A] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Outcome
  2. UnlessShutdown
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Outcome(result: A)

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() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def flatMap[B](f: (A) => UnlessShutdown[B]): UnlessShutdown[B]

    Monadically chain two outcome computations.

    Monadically chain two outcome computations. Abortion due to shutdown propagates.

    Definition Classes
    OutcomeUnlessShutdown
  8. def foreach(f: (A) => Unit): Unit

    Applies the function to the outcome if available

    Applies the function to the outcome if available

    Definition Classes
    OutcomeUnlessShutdown
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def isOutcome: Boolean

    Returns whether the outcome is an actual outcome

    Returns whether the outcome is an actual outcome

    Definition Classes
    OutcomeUnlessShutdown
  12. def map[B](f: (A) => B): Outcome[B]

    Transforms the outcome using the given function.

    Transforms the outcome using the given function.

    Definition Classes
    OutcomeUnlessShutdown
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def onShutdown[B >: A](ifShutdown: => B): A

    Evaluate the argument upon abortion and otherwise return the outcome

    Evaluate the argument upon abortion and otherwise return the outcome

    Analogue to scala.Option.getOrElse.

    Definition Classes
    OutcomeUnlessShutdown
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val result: A
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toRight[L](aborted: => L): Either[L, A]

    Convert the outcome into an scala.Right$ or scala.Left$(aborted) upon abortion.

    Convert the outcome into an scala.Right$ or scala.Left$(aborted) upon abortion.

    Definition Classes
    OutcomeUnlessShutdown
  21. def traverse[F[_], B](f: (A) => F[B])(implicit F: Applicative[F]): F[UnlessShutdown[B]]

    Applicative traverse for outcome computations.

    Applicative traverse for outcome computations. The given function is not applied upon abortion.

    Definition Classes
    OutcomeUnlessShutdown
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from UnlessShutdown[A]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped