You are here

public function BackendInterface::claimJob in Advanced Queue 8

Claims the next available job for processing.

Return value

\Drupal\advancedqueue\Job|null The job, or NULL if none available.

1 method overrides BackendInterface::claimJob()
Database::claimJob in src/Plugin/AdvancedQueue/Backend/Database.php
Claims the next available job for processing.

File

src/Plugin/AdvancedQueue/Backend/BackendInterface.php, line 115

Class

BackendInterface
Provides the interface for queue backends.

Namespace

Drupal\advancedqueue\Plugin\AdvancedQueue\Backend

Code

public function claimJob();