Object/Class

zio.saga

Saga

Related Docs: class Saga | package saga

Permalink

object Saga

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Saga
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class Compensable[-R, +E, +A] extends AnyVal

    Permalink

    Extension methods for IO requests.

  2. type Compensator[-R, +E] = ZIO[R, E, Unit]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def IOtoCompensable[E, A](io: IO[E, A]): Compensable[Any, E, A]

    Permalink
  5. implicit def TaskRtoCompensable[R, A](taskR: TaskR[R, A]): Compensable[R, Throwable, A]

    Permalink
  6. implicit def TaskToCompensable[A](taskR: Task[A]): Compensable[Any, Throwable, A]

    Permalink
  7. implicit def UIOtoCompensable[A](uio: UIO[A]): Compensable[Any, Nothing, A]

    Permalink
  8. implicit def ZIOtoCompensable[R, E, A](zio: ZIO[R, E, A]): Compensable[R, E, A]

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def collectAllPar[R, E, A](sagas: Saga[R, E, A]*): Saga[R, E, List[A]]

    Permalink

    Runs all Sagas in iterable in parallel, and collect the results.

  12. def collectAllPar[R, E, A](sagas: Iterable[Saga[R, E, A]]): Saga[R, E, List[A]]

    Permalink

    Runs all Sagas in iterable in parallel and collects the results.

  13. def compensate[R, E, A](request: ZIO[R, E, A], compensator: Compensator[R, E]): Saga[R, E, A]

    Permalink

    Constructs new Saga from action and compensating action.

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def fail[R, E](error: E): Saga[R, E, Nothing]

    Permalink

    Constructs Saga without compensation that fails with an error.

  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def foreachPar[R, E, A, B](as: Iterable[A])(fn: (A) ⇒ Saga[R, E, B]): Saga[R, E, List[B]]

    Permalink

    Constructs a Saga that applies the function f to each element of the Iterable[A] in parallel, and returns the results in a new List[B].

  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def noCompensate[R, E, A](request: ZIO[R, E, A]): Saga[R, E, A]

    Permalink

    Constructs new no-op Saga that will do nothing on error.

  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def retryableCompensate[R, E, A](request: ZIO[R, E, A], compensator: Compensator[R, E], schedule: Schedule[E, Any]): Saga[R with Clock, E, A]

    Permalink

    Constructs new Saga from action, compensating action and a scheduling policy for retrying compensation.

  27. def succeed[R, A](value: A): Saga[R, Nothing, A]

    Permalink

    Constructs Saga without compensation that succeeds with a strict value.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped