You are here

public function JobExecutorInterface::select in Apigee Edge 8

Claims a job if one is available.

Parameters

null|string $tag: Optional tag to filter with.

Return value

\Drupal\apigee_edge\Job\Job|null Job object or null if there is no available.

1 method overrides JobExecutorInterface::select()
JobExecutor::select in src/JobExecutor.php
Claims a job if one is available.

File

src/JobExecutorInterface.php, line 60

Class

JobExecutorInterface
Job executor service definition.

Namespace

Drupal\apigee_edge

Code

public function select(?string $tag = NULL) : ?Job;