Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ZWorkflowStub.type
Members list
Value members
Concrete methods
Executes the given workflow. '''Waits''' for the workflow to finish. Accepts the workflow method invocation
Executes the given workflow. '''Waits''' for the workflow to finish. Accepts the workflow method invocation
Example:
val stub: ZWorkflowStub.Of[T] = ???
val workflowExecution: TemporalIO[R] =
ZWorkflowStub.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 workflow with a given timeout. '''Waits''' for the workflow to finish. Accepts the workflow method invocation
Executes the given workflow with a given timeout. '''Waits''' for the workflow to finish. Accepts the workflow method invocation
Example:
val stub: ZWorkflowStub.Of[T] = ???
val workflowExecution: TemporalIO[R] =
ZWorkflowStub.executeWithTimeout(5.seconds)(
stub.someMethod(someArg)
)
Type parameters
- R
-
workflow result type
Value parameters
- f
-
the workflow method invocation
- timeout
-
the timeout
Attributes
- Returns
-
the workflow result
Starts the given workflow. '''Doesn't wait''' for the workflow to finish. Accepts the workflow method invocation
Starts the given workflow. '''Doesn't wait''' for the workflow to finish. Accepts the workflow method invocation
Example:
val stub: ZWorkflowStub.Of[T] = ???
val workflowExecution: TemporalIO[ZWorkflowExecution] =
ZWorkflowStub.start(
stub.someMethod(someArg)
)
Type parameters
- A
-
workflow result type
Value parameters
- f
-
the workflow method invocation
Attributes
- Returns
-
the workflow execution metadata