Package

com.vladkopanev.zio

saga

Permalink

package saga

Visibility
  1. Public
  2. All

Type Members

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

    Permalink

    A Saga is an immutable structure that models a distributed transaction.

    A Saga is an immutable structure that models a distributed transaction.

    See also

    Saga pattern Saga class has three type parameters - R for environment, E for errors and A for successful result. Saga wraps a ZIO that carries the compensating action in both error and result channels and enables a composition with another Sagas in for-comprehensions. If error occurs Saga will execute compensating actions starting from action that corresponds to failed request till the first already completed request.

Value Members

  1. object Saga

    Permalink

Ungrouped