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

Breadcrumb

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

function TracingDriver::repeat

Overrides Driver::repeat

File

vendor/revolt/event-loop/src/EventLoop/Driver/TracingDriver.php, line 79

Class

TracingDriver

Namespace

Revolt\EventLoop\Driver

Code

public function repeat(float $interval, \Closure $closure) : string {
    $id = $this->driver
        ->repeat($interval, $closure);
    $this->creationTraces[$id] = $this->formatStacktrace(\debug_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS));
    $this->enabledCallbacks[$id] = true;
    return $id;
}
RSS feed
Powered by Drupal