zio.temporal.workflow.ZChildWorkflowExecutionSyntax
Attributes
- Companion
-
object
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Known subtypes
-
Members list
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
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)