Outcome

turbolift.io.Outcome
See theOutcome companion object
sealed abstract class Outcome[+A]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class NotSuccess
object Cancelled
class Failure
class Success[A]

Members list

Value members

Concrete methods

final def flatMap[B](f: A => Outcome[B]): Outcome[B]
final def flatRun[B, U](using ev: A <:< Computation[B, U]): Computation[B, U & IO]
final def get: A
final def isCancelled: Boolean
final def isFailure: Boolean
final def isSuccess: Boolean
final def map[B](f: A => B): Outcome[B]
final def run: Computation[A, IO]
final def toEither: Either[Throwable, A]
final def toOption: Option[A]
final def toSnap: Snap[A]
final def toTry: Try[A]