Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ZChildWorkflowStub.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
An untyped version of ZChildWorkflowStub
An untyped version of ZChildWorkflowStub
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
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 child workflow synchronously. Accepts the workflow method invocation
Executes the given child workflow synchronously. Accepts the workflow method invocation
Example:
val stub: ZChildWorkflowStub.Of[T] = ???
val result: R = ZChildWorkflowStub.execute(
stub.someMethod(someArg)
)
Type parameters
- R
-
workflow result type
Value parameters
- f
-
the workflow method invocation
Attributes
- Returns
-
the workflow result
- Inherited from:
- ZChildWorkflowExecutionSyntax
Executes the given child workflow asynchronously. Accepts the workflow method invocation
Executes the given child workflow asynchronously. Accepts the workflow method invocation
Example:
val stub: ZChildWorkflowStub.Of[T] = ???
val result: ZAsync[R] = ZChildWorkflowStub.executeAsync(
stub.someMethod(someArg)
)
Type parameters
- R
-
workflow result type
Value parameters
- f
-
the workflow method invocation
Attributes
- Returns
-
the workflow result (async)
- Inherited from:
- ZChildWorkflowExecutionSyntax
Sends a signal to the child workflow. Accepts the signal method invocation
Sends a signal to the child workflow. Accepts the signal method invocation
Example:
val stub: ZChildWorkflowStub.Of[T] = ???
ZChildWorkflowStub.signal(
stub.someSignalMethod(someArg)
)
Value parameters
- f
-
the signal method invocation
Attributes
- Inherited from:
- ZChildWorkflowStubSignalSyntax