ZWorkflowStubBuilder

zio.temporal.workflow.ZWorkflowStubBuilder
final class ZWorkflowStubBuilder[Res]

Attributes

Deprecated
[Since version 0.6.0]
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def build: Res

Builds typed ZWorkflowStub

Builds typed ZWorkflowStub

Attributes

Returns

typed workflow stub

def transformJavaOptions(f: Builder => Builder): ZWorkflowStubBuilder[Res]

Allows to specify options directly on the java SDK's WorkflowOptions. Use it in case an appropriate withXXX method is missing

Allows to specify options directly on the java SDK's WorkflowOptions. Use it in case an appropriate withXXX method is missing

Attributes

Note

the options specified via this method take precedence over those specified via other methods.

def withContextPropagators(values: ContextPropagator*): ZWorkflowStubBuilder[Res]
def withCronSchedule(schedule: String): ZWorkflowStubBuilder[Res]
def withMemo(values: (String, AnyRef)*): ZWorkflowStubBuilder[Res]
def withWorkflowExecutionTimeout(timeout: Duration): ZWorkflowStubBuilder[Res]
def withWorkflowIdReusePolicy(value: WorkflowIdReusePolicy): ZWorkflowStubBuilder[Res]
def withWorkflowRunTimeout(timeout: Duration): ZWorkflowStubBuilder[Res]
def withWorkflowTaskTimeout(timeout: Duration): ZWorkflowStubBuilder[Res]