Operation

object Operation
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def attempt[A](operation: => Operation[A]): Operation[Either[Throwable, A]]
def delayed[A](a: => A): Operation[A]
def exception[A](e: Throwable): Operation[A]
def fail[A](a: Any): Operation[A]
def fromEither[A](ea: => Either[Throwable, A]): Operation[A]
def ok[A](a: A): Operation[A]
def protect[A](a: => A): Operation[A]
def pure[A](a: => A): Operation[A]
def thenFinally[A](operation: Operation[A], last: Finalizer): Operation[A]
def unit: Operation[Unit]

Givens

Givens

given OperationApplicative: Applicative[[_] =>> Operation[_$2]]
given OperationMonad: Monad[[_] =>> Operation[_$1]]
given SafeOperation: Safe[[A] =>> Operation[A]]
given operationToAction: NaturalTransformation[[A] =>> Operation[A], [A] =>> Action[A]]