ZWorkflowStubImpl

zio.temporal.workflow.ZWorkflowStubImpl
final class ZWorkflowStubImpl(val toJava: WorkflowStub) extends ZWorkflowStub

Represents untyped workflow stub

Attributes

See also:

WorkflowStub

Graph
Supertypes
trait CanSignal[WorkflowStub]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

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

Attributes

Inherited from:
CanSignal
def cancel: TemporalIO[Unit]

Cancels workflow execution

Cancels workflow execution

Attributes

Inherited from:
ZWorkflowStub
def result[V : ClassTag](timeout: Duration): TemporalIO[Option[V]]

Attributes

Inherited from:
ZWorkflowStub
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

Inherited from:
ZWorkflowStub
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 from:
ZWorkflowStub

Concrete fields

val toJava: WorkflowStub