Documentation

WorkerFactoryInterface

The interface is responsible for providing an interface for registering all dependencies and creating a global event loop.

In addition, implementation of this interface is responsible for delegating events that came from the Temporal server to a specific TaskQueue.

Tags
see
LoopInterface

Table of Contents

Constants

DEFAULT_TASK_QUEUE  = 'default'
The name of the standard task queue into which all events from the Temporal server will fall.

Methods

newWorker()  : WorkerInterface
Create a new Temporal Worker with the name of the task queue and register in worker.
run()  : mixed
Start processing workflows and activities processing.

Constants

DEFAULT_TASK_QUEUE

The name of the standard task queue into which all events from the Temporal server will fall.

public string DEFAULT_TASK_QUEUE = 'default'

Methods


        
On this page

Search results