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]) @IntrinsicCandidate() @native()
  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 flatten[B](implicit ev: <:<[A, UnlessShutdown[B]]): UnlessShutdown[B]
    Definition Classes
    UnlessShutdown
  9. def forall(p: (A) => Boolean): Boolean
    Definition Classes
    OutcomeUnlessShutdown
  10. 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
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isOutcome: Boolean

    Returns whether the outcome is an actual outcome

    Returns whether the outcome is an actual outcome

    Definition Classes
    OutcomeUnlessShutdown
  14. 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
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. 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
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. val result: A
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def tapOnShutdown(ifShutdown: => Unit): Outcome.this.type
    Definition Classes
    OutcomeUnlessShutdown
  23. 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
  24. 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
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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

    (Since version 9)

Inherited from UnlessShutdown[A]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped