Operation

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

Type members

Classlikes

object OperationApplicative extends Applicative[Operation]
object OperationMonad extends Monad[Operation]
object SafeOperation extends Safe[Operation]
object operationToAction extends NaturalTransformation[Operation, Action]

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 operationAsResult[T](using evidence$1: AsResult[T]): operationAsResult[T]