ZWorkflowStub

zio.temporal.workflow.ZWorkflowStub
See theZWorkflowStub companion object
sealed trait ZWorkflowStub extends CanSignal[WorkflowStub]

Attributes

Companion:
object
Graph
Supertypes
trait CanSignal[WorkflowStub]
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

def cancel: TemporalIO[Unit]

Cancels workflow execution

Cancels workflow execution

Attributes

def result[V : ClassTag]: TemporalIO[V]

Fetches workflow result

Fetches workflow result

Attributes

V

expected workflow result type

Returns:

either interaction error or the workflow result

def result[V : ClassTag](timeout: Duration): TemporalIO[Option[V]]
def terminate(reason: String, details: Any*): TemporalIO[Unit]

Terminates workflow execution

Terminates workflow execution

Attributes

details

additional information

reason

termination reason which will be displayed in temporal web UI

Inherited methods

def `__zio_temporal_invokeSignal`(signalName: String, args: Seq[AnyRef]): TemporalIO[Unit]

Attributes

Inherited from:
CanSignal
def toJava: Self

Attributes

Inherited from:
CanSignal