SuspendQueueException::$delay

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Queue/SuspendQueueException.php \Drupal\Core\Queue\SuspendQueueException::delay

Seconds to wait before resuming the queue, or NULL if unknown.

Type: float|null

File

core/lib/Drupal/Core/Queue/SuspendQueueException.php, line 22

Class

SuspendQueueException
Exception class to throw to indicate that a cron queue should be skipped.

Namespace

Drupal\Core\Queue

Code

protected $delay = NULL;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.