Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DelayedRequeueException.php

function DelayedRequeueException::getDelay

Get the desired delay interval for this item.

For recommended value usage in a queue processor.

Return value

int The desired delay interval for this item.

See also

self::$delay

File

core/lib/Drupal/Core/Queue/DelayedRequeueException.php, line 56

Class

DelayedRequeueException
Throw this exception to leave an item in the queue until its lock expires.

Namespace

Drupal\Core\Queue

Code

public function getDelay() : int {
    return $this->delay;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal