ZActivity
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ZActivity.type
Members list
Value members
Concrete methods
Can be used to get information about an Activity Execution and to invoke Heartbeats. This static method relies on a thread-local variable and works only in the original Activity Execution thread.
Can be used to get information about an Activity Execution and to invoke Heartbeats. This static method relies on a thread-local variable and works only in the original Activity Execution thread.
Attributes
Runs provided effect completing this activity with the effect result.
Runs provided effect completing this activity with the effect result.
Type parameters
- A
-
effect result type
Value parameters
- action
-
the effect
- zactivityOptions
-
options required to run the action
Attributes
- Returns
-
result of executing the action
Runs provided effect completing this activity with the effect result.
Runs provided effect completing this activity with the effect result.
Type parameters
- A
-
effect result type
- E
-
effect error type
Value parameters
- action
-
the effect
- toApplicationFailure
-
a converter from a typed error into io.temporal.failure.ApplicationFailure
- zactivityOptions
-
options required to run the action
Attributes
- Returns
-
result of executing the action
Use this to rethrow a checked exception from an Activity Execution instead of adding the exception to a method signature.
Use this to rethrow a checked exception from an Activity Execution instead of adding the exception to a method signature.
Attributes
- Returns
-
Never returns; always throws. Throws original exception if e is RuntimeException or Error.