zio.temporal.workflow.ZSaga
See theZSaga companion object
Implements the logic to execute compensation operations that is often required in Saga applications. The following is a skeleton to show of how it is supposed to be used in workflow code:
Type parameters
A
value type
Attributes
See also
Companion
object
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Self type
Members list
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
Value parameters
options
ZSaga options
Attributes
Returns
either successful value or error (with compensations executed)