Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
ZActivityStub.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
An untyped version of ZActivityStub
Inherited types
Stub is a compile-time view of temporal's runtime abstractions, such as Workflows.
Stub is a compile-time view of temporal's runtime abstractions, such as Workflows.
Type parameters
- T
-
compile-time view
Attributes
- Note
-
Do not call methods of proxied workflows directly! It should be used only within special methods like
ZWorkflowStub.signal
,ZWorkflowStub.start
,ZWorkflowStub.execute
and so on. - Inherited from:
- Stubs (hidden)
Value members
Inherited methods
Executes the given activity synchronously. Accepts the activity method invocation
Executes the given activity synchronously. Accepts the activity method invocation
Example:
val stub: ZActivityStub.Of[T] = ???
val result: R = ZActivityStub.execute(
stub.someMethod(someArg)
)
Type parameters
- R
-
activity result type
Value parameters
- f
-
the activity invocation
Attributes
- Returns
-
the activity result
- Inherited from:
- ZActivityExecutionSyntax
Executes the given activity asynchronously. Accepts the activity method invocation
Executes the given activity asynchronously. Accepts the activity method invocation
Example:
val stub: ZActivityStub.Of[T] = ???
val result: ZAsync[R] = ZActivityStub.executeAsync(
stub.someMethod(someArg)
)
Type parameters
- R
-
activity result type
Value parameters
- f
-
the activity invocation
Attributes
- Returns
-
the activity result (async)
- Inherited from:
- ZActivityExecutionSyntax