function Cron::usleep

Same name in other branches
  1. 10 core/lib/Drupal/Core/Cron.php \Drupal\Core\Cron::usleep()

Delay execution in microseconds.

Parameters

int $microseconds: Halt time in microseconds.

1 call to Cron::usleep()
Cron::processQueues in core/lib/Drupal/Core/Cron.php
Processes cron queues.

File

core/lib/Drupal/Core/Cron.php, line 298

Class

Cron
The Drupal core Cron service.

Namespace

Drupal\Core

Code

protected function usleep(int $microseconds) : void {
    usleep($microseconds);
}

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