Outcome

object Outcome
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

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 class ListWithOutcomeSequence[A](l: List[Outcome[A]]) extends AnyVal
final case class Result[+A](state: A, globalEvents: List[GlobalEvent]) extends Outcome[A]
final class tuple2Outcomes[A, B](t: (Outcome[A], Outcome[B])) extends AnyVal
final 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