ZWorker

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

Attributes

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

Members list

Type members

Classlikes

final class AddWorkflowAspectDsl[I]

Allows building workers using ZIOAspect

Allows building workers using ZIOAspect

Attributes

Supertypes
class Object
trait Matchable
class Any
final class AddWorkflowDsl[I]

Allows building workers

Allows building workers

Attributes

Supertypes
class Object
trait Matchable
class Any

Types

type Add[+LowerR, -UpperR] = ZIOAspect[LowerR, UpperR, Nothing, Any, ZWorker, ZWorker]

Value members

Concrete methods

def addActivityImplementation[Activity <: AnyRef : ExtendsActivity](activity: Activity): Add[Nothing, Any]
def addActivityImplementationLayer[R0, Activity <: AnyRef : Tag, E0](layer: ZLayer[R0, E0, Activity]): ZIOAspect[Nothing, R0 & Scope, E0, Any, ZWorker, ZWorker]

Adds activity from the given ZLayer

Adds activity from the given ZLayer

Value parameters

layer

the activity implementation object as a ZLayer

Attributes

def addActivityImplementationService[Activity <: AnyRef : Tag]: Add[Nothing, Activity]

Adds activity from the ZIO environment.

Adds activity from the ZIO environment.

Attributes

def addActivityImplementations(activityImplementationObject: ZActivityImplementationObject[_], moreObjects: ZActivityImplementationObject[_]*): Add[Nothing, Any]
def addActivityImplementations(activityImplementationObjects: List[ZActivityImplementationObject[_]]): Add[Nothing, Any]
def addActivityImplementationsLayer[R0, E0](activitiesLayer: ZLayer[R0, E0, List[ZActivityImplementationObject[_]]]): ZIOAspect[Nothing, R0 & Scope, E0, Any, ZWorker, ZWorker]

Adds activities from the given ZLayer

Adds activities from the given ZLayer

Value parameters

activitiesLayer

the list of activity implementation objects as a ZLayer

Attributes

Adds workflow to this worker

Adds workflow to this worker

Attributes

def addWorkflowImplementations(workflowImplementationClass: ZWorkflowImplementationClass[_], moreClasses: ZWorkflowImplementationClass[_]*): Add[Nothing, Any]
def addWorkflowImplementations(workflowImplementationClasses: List[ZWorkflowImplementationClass[_]]): Add[Nothing, Any]
def addWorkflowImplementations(options: ZWorkflowImplementationOptions, workflowImplementationClass: ZWorkflowImplementationClass[_], moreClasses: ZWorkflowImplementationClass[_]*): Add[Nothing, Any]

Attributes

See also
def addWorkflowImplementations(options: ZWorkflowImplementationOptions, workflowImplementationClasses: List[ZWorkflowImplementationClass[_]]): Add[Nothing, Any]

Attributes

See also