You are here

public function ProcessorInterface::processQueue in Advanced Queue 8

Processes the given queue.

Jobs will be claimed and processed one by one until the configured processing time ($queue->getProcessingTime()) passes.

Parameters

\Drupal\advancedqueue\Entity\QueueInterface $queue: The queue.

Return value

int The number of processed jobs.

1 method overrides ProcessorInterface::processQueue()
Processor::processQueue in src/Processor.php
Processes the given queue.

File

src/ProcessorInterface.php, line 24

Class

ProcessorInterface
Provides the interface for queue processors.

Namespace

Drupal\advancedqueue

Code

public function processQueue(QueueInterface $queue);