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 Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
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
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
Attributes
- See also
Register activity implementation objects with a worker. An implementation object can implement one or more activity types.
Register activity implementation objects with a worker. An implementation object can implement one or more activity types.
An activity implementation object must implement at least one interface annotated with zio.temporal.activityInterface. Each method of the annotated interface becomes an activity type.
Implementations that share a worker must implement different interfaces as an activity type is identified by the activity interface, not by the implementation.
Attributes
Adds workflow to this worker
Adds workflow to this worker
Attributes
Attributes
- See also
Registers workflow implementation classes with a worker. Can be called multiple times to add more types. A workflow implementation class must implement at least one interface with a method annotated with zio.temporal.workflowMethod. By default, the short name of the interface is used as a workflow type that this worker supports.
Registers workflow implementation classes with a worker. Can be called multiple times to add more types. A workflow implementation class must implement at least one interface with a method annotated with zio.temporal.workflowMethod. By default, the short name of the interface is used as a workflow type that this worker supports.
Implementations that share a worker must implement different interfaces as a workflow type is identified by the workflow interface, not by the implementation.
Attributes
- Throws
-
io.temporal.worker.TypeAlreadyRegisteredException
if one of the workflow types is already registered
Attributes
- See also
Attributes
- See also
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