sealed trait Outcome[+A]

An Outcome represents the result of some part of a frame update. It contains a value or an error (exception), and optionally a list of events to be processed on the next frame.

class Object
trait Matchable
class Any
class Error
class Result[A]

Value members

Abstract methods

def addGlobalEvents(newEvents: GlobalEvent*): Outcome[A]
def addGlobalEvents(newEvents: => Batch[GlobalEvent]): Outcome[A]
def ap[B](of: Outcome[A => B]): Outcome[B]
def combine[B](other: Outcome[B]): Outcome[(A, B)]
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 map[B](f: A => B): Outcome[B]
def mapAll[B](f: A => B, g: Batch[GlobalEvent] => Batch[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