0

Interface Yiisoft\Queue\Worker\WorkerInterface

Implemented byYiisoft\Queue\Debug\QueueWorkerInterfaceProxy, Yiisoft\Queue\Stubs\StubWorker, Yiisoft\Queue\Worker\Worker

Executes a message: runs it through the consume pipeline and, on failure, through the failure pipeline.

Public Methods

Hide inherited methods

Method Description Defined By
process() Yiisoft\Queue\Worker\WorkerInterface

Method Details

Hide inherited methods

process() public abstract method

public abstract void process ( Yiisoft\Queue\Message\MessageInterface $message, string $queueName )
$message Yiisoft\Queue\Message\MessageInterface
$queueName string

Logical execution queue name.

                public function process(MessageInterface $message, string $queueName): void;