zio.temporal.workflow.ZSaga$
See theZSaga companion trait
object ZSaga
Attributes
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Adds a compensation to the current saga
Adds a compensation to the current saga
Value parameters
- compensate
-
the compensation which will run in case the saga fails
Attributes
Creates a saga which will run a compensation if the main action fails.
Creates a saga which will run a compensation if the main action fails.
Type parameters
- A
-
action result
Value parameters
- compensate
-
the compensation which will run in case the saga fails
- exec
-
the main action
Attributes
In this article