ZScheduleStartWorkflowStubSyntax

zio.temporal.schedules.ZScheduleStartWorkflowStubSyntax
See theZScheduleStartWorkflowStubSyntax companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

inline def start[A](inline f: A): StartWorkflow

Creates a Start Workflow Schedule Action for the given workflow. Accepts the workflow method invocation

Creates a Start Workflow Schedule Action for the given workflow. Accepts the workflow method invocation

Example:

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

 val action: ZScheduleAction.StartWorkflow =
    ZScheduleStartWorkflowStub.start(
      stub.someMethod(someArg)
    )

Type parameters

A

workflow result type

Value parameters

f

the workflow method invocation

Attributes

Returns

Start Workflow Schedule Action