ZWorkflowStubSignalSyntax

zio.temporal.signal.ZWorkflowStubSignalSyntax
See theZWorkflowStubSignalSyntax companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ZWorkflowStub.type

Members list

Value members

Concrete methods

inline def signal(inline f: Unit): TemporalIO[Unit]

Sends a signal to the workflow. Accepts the signal method invocation

Sends a signal to the workflow. Accepts the signal method invocation

Example:

 val stub: ZWorkflowStub.Of[T] = ???

val signalSent: TemporalIO[Unit] = ZWorkflowStub.signal(
   stub.someSignalMethod(someArg)
 )

Value parameters

f

the signal method invocation

Attributes

Returns

ZIO