You are here

public function JobExecutorInterface::cast in Apigee Edge 8

Executes a job asynchronously.

This puts the job into the "apigee_edge_job" cron queue.

Parameters

\Drupal\apigee_edge\Job\Job $job: The job to execute later.

Throws

\Exception

1 method overrides JobExecutorInterface::cast()
JobExecutor::cast in src/JobExecutor.php
Executes a job asynchronously.

File

src/JobExecutorInterface.php, line 87

Class

JobExecutorInterface
Job executor service definition.

Namespace

Drupal\apigee_edge

Code

public function cast(Job $job);