Success

turbolift.io.Outcome.Success
final case class Success[A](value: A) extends Outcome[A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Outcome[A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

final def flatMap[B](f: A => Outcome[B]): Outcome[B]

Attributes

Inherited from:
Outcome
final def flatRun[B, U](using ev: A <:< Computation[B, U]): Computation[B, U & IO]

Attributes

Inherited from:
Outcome
final def get: A

Attributes

Inherited from:
Outcome
final def isCancelled: Boolean

Attributes

Inherited from:
Outcome
final def isFailure: Boolean

Attributes

Inherited from:
Outcome
final def isSuccess: Boolean

Attributes

Inherited from:
Outcome
final def map[B](f: A => B): Outcome[B]

Attributes

Inherited from:
Outcome
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def run: Computation[A, IO]

Attributes

Inherited from:
Outcome
final def toEither: Either[Throwable, A]

Attributes

Inherited from:
Outcome
final def toOption: Option[A]

Attributes

Inherited from:
Outcome
final def toSnap: Snap[A]

Attributes

Inherited from:
Outcome
final def toTry: Try[A]

Attributes

Inherited from:
Outcome