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

Breadcrumb

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

function EventDriver::dispatch

Overrides AbstractDriver::dispatch

File

vendor/revolt/event-loop/src/EventLoop/Driver/EventDriver.php, line 159

Class

EventDriver

Namespace

Revolt\EventLoop\Driver

Code

protected function dispatch(bool $blocking) : void {
    $this->handle
        ->loop($blocking ? \EventBase::LOOP_ONCE : \EventBase::LOOP_ONCE | \EventBase::LOOP_NONBLOCK);
}
RSS feed
Powered by Drupal