ZWorker

zio.temporal.worker.ZWorker
See theZWorker companion object
class ZWorker

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

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addActivityImplementation[A <: AnyRef : IsActivity](activity: A): ZWorker

Registers activity implementation objects with a worker. An implementation object can implement one or more activity types.

Registers activity implementation objects with a worker. An implementation object can implement one or more activity types.

Attributes

See also:

Worker#registerActivitiesImplementations

Allows to add workflow to this worker

Allows to add workflow to this worker

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any