zio.temporal.worker

Members list

Type members

Classlikes

object ZWorker

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ZWorker.type
class ZWorker

Hosts activity and workflow implementations. Uses long poll to receive activity and workflow tasks and processes them in a correspondent thread pool.

Hosts activity and workflow implementations. Uses long poll to receive activity and workflow tasks and processes them in a correspondent thread pool.

The codecRegistry carried here is the ''same'' CodecRegistry owned by this worker's ZWorkflowClientOptions. When None, the user supplied a custom DataConverter via withDataConverter(raw) and auto-registration is a silent no-op. When Some, the auto-registration call sites (addWorkflow[I] / addActivityImplementation(impl) / …) populate the registry at invocation time so users don't need to chain .addInterface[...] by hand on the options.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class ZWorkerFactory

Maintains worker creation and lifecycle.

Maintains worker creation and lifecycle.

The codecRegistry is propagated from the upstream ZWorkflowClient (which took it from ZWorkflowClientOptions) so every worker created by this factory shares the same registry instance — the client and its workers therefore auto-register into the same append-only registry that the data converter reads on encode/decode.

Attributes

See also

WorkerFactory

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
final case class ZWorkerFactoryOptions

Represents worker factory options

Represents worker factory options

Attributes

See also

WorkerFactoryOptions

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ZWorkerOptions

Represents worker options

Represents worker options

Attributes

See also

WorkerOptions

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type