Interface Yiisoft\Queue\Worker\WorkerInterface
| Implemented by | Yiisoft\ |
|---|
Executes a message: runs it through the consume pipeline and, on failure, through the failure pipeline.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| process() | Yiisoft\ |
Method Details
| public abstract void process ( Yiisoft\ | ||
| $message | Yiisoft\ |
|
| $queueName | string |
Logical execution queue name. |
public function process(MessageInterface $message, string $queueName): void;
User Contributed Notes
Leave a comment
Join the conversation to share a note.