Packages

final case class Canceled[F[_], E, A]() extends Outcome[F, E, A] with Product with Serializable

Source
Outcome.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Canceled
  2. Outcome
  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 Canceled()

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 embed(onCancel: F[A])(implicit F: MonadCancel[F, E]): F[A]
    Definition Classes
    Outcome
  7. def embedError(implicit F: MonadCancel[F, E], ev: <:<[Throwable, E]): F[A]

    Allows the restoration to a normal development flow from an Outcome.

    Allows the restoration to a normal development flow from an Outcome.

    This can be useful for storing the state of a running computation and then waiters for that data can act and continue forward on that shared outcome. Cancelation is encoded as a CancellationException.

    Definition Classes
    Outcome
  8. def embedNever(implicit F: GenSpawn[F, E]): F[A]
    Definition Classes
    Outcome
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def fold[B](canceled: => B, errored: (E) => B, completed: (F[A]) => B): B
    Definition Classes
    Outcome
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isCanceled: Boolean
    Definition Classes
    Outcome
  14. def isError: Boolean
    Definition Classes
    Outcome
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isSuccess: Boolean
    Definition Classes
    Outcome
  17. def mapK[G[_]](f: ~>[F, G]): Outcome[G, E, A]
    Definition Classes
    Outcome
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Outcome[F, E, A]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped