Canceled

case object Canceled extends ExitCase

An ExitCase signaling that the action was aborted.

As an example this can happen when we have a cancelable data type, like IO and the task yielded by bracket gets canceled when it's at its use phase.

Source:
Resource.scala
trait Singleton
trait Product
trait Mirror
trait ExitCase
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Inherited from:
Singleton
Source:
Mirror.scala
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
Source:
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Inherited from:
Singleton
Source:
Mirror.scala
type MirroredType = Singleton.this.type
Inherited from:
Singleton
Source:
Mirror.scala

Value members

Concrete methods

def toOutcome[F[_] : Applicative]: Canceled[F, Throwable, Unit]

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Inherited from:
Singleton
Source:
Mirror.scala
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product