zio.temporal.workflow.ZSaga$
See theZSaga companion trait Attributes
- Companion:
- trait
- Graph
- Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
- Self type
Members list
Concise view
Type members
Attributes
- Companion:
- object
- Graph
- Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Attributes
- Companion:
- class
- Graph
- Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
- Self type
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
Attributes
- Inherited from:
- Mirror
Value members
Suspends side effect execution within ZSaga
Suspends side effect execution within ZSaga
Attributes
- A
value type
- thunk
effectful side effect (which may throw exceptions)
- Returns:
suspended ZSaga
Adds a compensation to the current saga
Adds a compensation to the current saga
Attributes
- compensate
the compensation which will run in case the saga fails
Creates immediately failed ZSaga instance
Creates immediately failed ZSaga instance
Attributes
- error
error value
- Returns:
failed ZSaga
Creates immediately completed ZSaga instance from scala's Either
Creates immediately completed ZSaga instance from scala's Either
Attributes
- value
scala Either value
- Returns:
failed ZSaga
Creates immediately completed ZSaga instance from scala's Try
Creates immediately completed ZSaga instance from scala's Try
Attributes
- value
scala Try value
- Returns:
failed ZSaga
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.
Attributes
- A
action result
- compensate
the compensation which will run in case the saga fails
- exec
the main action
Creates immediately completed ZSaga instance which won't fail
Creates immediately completed ZSaga instance which won't fail
Attributes
- A
value type
- value
result value
- Returns:
value wrapped into ZSaga
Creates a completed ZSaga with Unit result.
Creates a completed ZSaga with Unit result.
Attributes