ZWorkerFactory

zio.temporal.worker.ZWorkerFactory$
See theZWorkerFactory companion class

Attributes

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

Members list

Value members

Concrete methods

def newWorker(taskQueue: String, options: ZWorkerOptions): URIO[ZWorkerFactory, ZWorker]

Attributes

See also
def serve: URIO[ZWorkerFactory & Scope, Nothing]

Allows to setup ZWorkerFactory with guaranteed finalization. To be used in worker-only applications

Allows to setup ZWorkerFactory with guaranteed finalization. To be used in worker-only applications

Attributes

def setup: URIO[ZWorkerFactory & Scope, Unit]

Allows to setup ZWorkerFactory with guaranteed finalization.

Allows to setup ZWorkerFactory with guaranteed finalization.

Attributes

Concrete fields

Creates an instance of ZWorkerFactory

Creates an instance of ZWorkerFactory

Value parameters

client

temporal client

options

worker factory option

Attributes

Returns

new worker factory

See also

WorkerFactory.newInstance