Result

final case class Result[+A](state: A, globalEvents: List[GlobalEvent]) extends Outcome[A]
trait Serializable
trait Product
trait Equals
trait Outcome[A]
class Object
trait Matchable
class Any

Value members

Concrete methods

def addGlobalEvents(newEvents: GlobalEvent*): Outcome[A]
def addGlobalEvents(newEvents: => List[GlobalEvent]): Outcome[A]
def ap[B](of: Outcome[A => B]): Outcome[B]
def combine[B](other: Outcome[B]): Outcome[(A, B)]
def createGlobalEvents(f: A => List[GlobalEvent]): Outcome[A]
def flatMap[B](f: A => Outcome[B]): Outcome[B]
def getOrElse[B >: A](b: => B): B
def handleError[B >: A](recoverWith: Throwable => Outcome[B]): Outcome[B]
def isError: Boolean
def isResult: Boolean
def logCrash(reporter: PartialFunction[Throwable, String]): Outcome[A]
def map[B](f: A => B): Outcome[B]
def mapAll[B](f: A => B, g: List[GlobalEvent] => List[GlobalEvent]): Outcome[B]
def merge[B, C](other: Outcome[B])(f: (A, B) => C): Outcome[C]
def orElse[B >: A](b: => Outcome[B]): Outcome[B]
def unsafeGet: A

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product