Outcome

object Outcome
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Outcome.type

Type members

Classlikes

@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.throw")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
final case class Error(e: Throwable, crashReporter: PartialFunction[Throwable, String]) extends Outcome[Nothing]
Companion:
object
object Error
Companion:
class
final implicit implicit class ListWithOutcomeSequence[A](l: List[Outcome[A]]) extends AnyVal
final case class Result[+A](state: A, globalEvents: List[GlobalEvent]) extends Outcome[A]
final implicit implicit class tuple2Outcomes[A, B](t: (Outcome[A], Outcome[B])) extends AnyVal
final implicit implicit class tuple3Outcomes[A, B, C](t: (Outcome[A], Outcome[B], Outcome[C])) extends AnyVal

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 apply[A](state: => A): Outcome[A]
def apply[A](state: => A, globalEvents: => List[GlobalEvent]): Outcome[A]
def combine[A, B](oa: Outcome[A], ob: Outcome[B]): Outcome[(A, B)]
def combine3[A, B, C](oa: Outcome[A], ob: Outcome[B], oc: Outcome[C]): Outcome[(A, B, C)]
def flatten[A](faa: Outcome[Outcome[A]]): Outcome[A]
def join[A](faa: Outcome[Outcome[A]]): Outcome[A]
def map2[A, B, C](oa: Outcome[A], ob: Outcome[B])(f: (A, B) => C): Outcome[C]
def map3[A, B, C, D](oa: Outcome[A], ob: Outcome[B], oc: Outcome[C])(f: (A, B, C) => D): Outcome[D]
def merge[A, B, C](oa: Outcome[A], ob: Outcome[B])(f: (A, B) => C): Outcome[C]
def merge3[A, B, C, D](oa: Outcome[A], ob: Outcome[B], oc: Outcome[C])(f: (A, B, C) => D): Outcome[D]
def raiseError(throwable: Throwable): Error
def sequence[A](l: List[Outcome[A]]): Outcome[List[A]]
def unapply[A](outcome: Outcome[A]): Option[(A, List[GlobalEvent])]

Givens

Givens

given derived$CanEqual[A_$_L, A_$_R](implicit x$0: CanEqual[A_$_L, A_$_R]): CanEqual[Outcome[A_$_L], Outcome[A_$_R]]

Implicits

Implicits

final implicit def ListWithOutcomeSequence[A](l: List[Outcome[A]]): ListWithOutcomeSequence[A]
final implicit def tuple2Outcomes[A, B](t: (Outcome[A], Outcome[B])): tuple2Outcomes[A, B]
final implicit def tuple3Outcomes[A, B, C](t: (Outcome[A], Outcome[B], Outcome[C])): tuple3Outcomes[A, B, C]