sealed trait ZWorkflowStub extends BasicStubOps with ZWorkflowClientSignalWithStartSyntax
- Alphabetic
- By Inheritance
- ZWorkflowStub
- ZWorkflowClientSignalWithStartSyntax
- BasicStubOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def stubbedClass: Class[_]
Retrieves the runtime class of a stubbed type
Retrieves the runtime class of a stubbed type
- Definition Classes
- BasicStubOps
- abstract def toJava: WorkflowStub
- abstract def untyped: Untyped
Returns an untyped version of ZWorkflowStub
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cancel: TemporalIO[Unit]
Request cancellation of a workflow execution.
Request cancellation of a workflow execution.
Cancellation cancels io.temporal.workflow.CancellationScope that wraps the main workflow method. Note that workflow can take long time to get canceled or even completely ignore the cancellation request.
- Exceptions thrown
io.temporal.client.WorkflowNotFoundException
if the workflow execution doesn't exist or is already completedio.temporal.client.WorkflowServiceException
for all other failures including networking and service availability issues
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def options: Option[ZWorkflowOptions]
- returns
None if the stub is created to bound to an existing execution.
- def result[V](timeout: zio.Duration)(implicit arg0: TypeIsSpecified[V], arg1: JavaTypeTag[V]): TemporalIO[Option[V]]
- def result[V](implicit arg0: TypeIsSpecified[V], arg1: JavaTypeTag[V]): TemporalIO[V]
Fetches workflow result
Fetches workflow result
- V
expected workflow result type
- returns
either interaction error or the workflow result
- macro def signalWithStart(start: Unit, signal: Unit): TemporalIO[ZWorkflowExecution]
Performs signal with start atomically.
Performs signal with start atomically.
- start
workflow method call
- signal
signal method call
- returns
Workflow execution metadata
- Definition Classes
- ZWorkflowClientSignalWithStartSyntax
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def terminate(reason: Option[String], details: Any*): TemporalIO[Unit]
Terminates a workflow execution.
Terminates a workflow execution.
Termination is a hard stop of a workflow execution which doesn't give workflow code any chance to perform cleanup.
- reason
optional reason for the termination request
- details
additional details about the termination reason
- Exceptions thrown
io.temporal.client.WorkflowNotFoundException
if the workflow execution doesn't exist or is already completedio.temporal.client.WorkflowServiceException
for all other failures including networking and service availability issues
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)