ZWorkflowClientOptions

zio.temporal.workflow.ZWorkflowClientOptions
See theZWorkflowClientOptions companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

final type Configure = ZLayerAspect[Nothing, Any, Nothing, Any, Nothing, ZWorkflowClientOptions]

Attributes

Inherited from:
ConfigurationCompanion

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def forPath(name: String, names: String*): Layer[Error, ZWorkflowClientOptions]

Allows to specify custom path for the config

Allows to specify custom path for the config

Attributes

def transformJavaOptions(f: Builder => Builder): Configure

Convenience: configure the client to use the supplied CodecRegistry directly. Useful when the same registry is shared between a client and a worker.

Convenience: configure the client to use the supplied CodecRegistry directly. Useful when the same registry is shared between a client and a worker.

Attributes

def withCodecs(codecs: ZTemporalCodec[_]*): Configure

Convenience: configure the client to use a zio-json DataConverter backed by a CodecRegistry containing the supplied codecs. Equivalent to:

Convenience: configure the client to use a zio-json DataConverter backed by a CodecRegistry containing the supplied codecs. Equivalent to:

 ZWorkflowClientOptions.withDataConverter(
   ZioJsonDataConverter.make(CodecRegistry.of(codecs: _*))
 )

Attributes

def withContextPropagators(value: ContextPropagator*): Configure
def withDataConverter(value: => DataConverter): Configure
def withIdentity(value: String): Configure
def withInterceptors(value: WorkflowClientInterceptor*): Configure
def withNamespace(value: String): Configure
def withQueryRejectCondition(value: QueryRejectCondition): Configure

Deprecated methods

def withBinaryChecksum(value: String): Configure

Attributes

See also
Deprecated
[Since version 0.3.0] use worker\'s buildId instead

Concrete fields

val make: Layer[Error, ZWorkflowClientOptions]

Reads config from the default path zio.temporal.zworkflow_client

Reads config from the default path zio.temporal.zworkflow_client

Attributes