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
Attributes
-
Companion
-
object
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Attributes
-
Companion
-
class
-
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
Suspends side effect execution within ZSaga
Suspends side effect execution within ZSaga
Type parameters
-
A
-
value type
Value parameters
-
thunk
-
effectful side effect (which may throw exceptions)
Attributes
-
Returns
-
suspended ZSaga
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 immediately failed ZSaga instance
Creates immediately failed ZSaga instance
Value parameters
-
error
-
error value
Attributes
-
Returns
-
failed ZSaga
Creates immediately completed ZSaga instance from scala's Either
Creates immediately completed ZSaga instance from scala's Either
Value parameters
-
value
-
scala Either value
Attributes
-
Returns
-
failed ZSaga
Creates immediately completed ZSaga instance from scala's Try
Creates immediately completed ZSaga instance from scala's Try
Value parameters
-
value
-
scala Try value
Attributes
-
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.
Type parameters
-
A
-
action result
Value parameters
-
compensate
-
the compensation which will run in case the saga fails
-
exec
-
the main action
Attributes
Creates immediately completed ZSaga instance which won't fail
Creates immediately completed ZSaga instance which won't fail
Type parameters
-
A
-
value type
Value parameters
-
value
-
result value
Attributes
-
Returns
-
value wrapped into ZSaga
Creates a completed ZSaga with Unit result.
Creates a completed ZSaga with Unit result.
Attributes