Succeed

zio.temporal.saga.ZSaga$.Succeed
final case class Succeed[A] extends ZSaga[A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ZSaga[A]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def catchAll[A0 >: A](f: Throwable => ZSaga[A0]): ZSaga[A0]

Attributes

Definition Classes
override def catchSome[A0 >: A](pf: PartialFunction[Throwable, ZSaga[A0]]): ZSaga[A0]

Attributes

Definition Classes
override def flatMap[B](f: A => ZSaga[B]): ZSaga[B]

Attributes

Definition Classes
override def map[B](f: A => B): ZSaga[B]

Attributes

Definition Classes

Inherited methods

def as[B](value: B): ZSaga[B]

Attributes

Inherited from:
ZSaga
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def run(options: Options): Either[Throwable, A]

Runs this saga, returning either error or successful value. Compensations are automatically applied if error occurs

Runs this saga, returning either error or successful value. Compensations are automatically applied if error occurs

Attributes

options

ZSaga options

Returns:

either successful value or error (with compensations executed)

Inherited from:
ZSaga
final def runOrThrow(options: Options): A

Attributes

Inherited from:
ZSaga
def unit: ZSaga[Unit]

Attributes

Inherited from:
ZSaga
final def zipWith[B, C](that: => ZSaga[B])(f: (A, B) => C): ZSaga[C]

Attributes

Inherited from:
ZSaga