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

Breadcrumb

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

function Driver::stop

Same name in this branch
  1. 11.1.x vendor/phpunit/php-code-coverage/src/Driver/Driver.php \SebastianBergmann\CodeCoverage\Driver\Driver::stop()

Stop the event loop.

When an event loop is stopped, it continues with its current tick and exits the loop afterwards. Multiple calls to stop MUST be ignored and MUST NOT raise an exception.

2 methods override Driver::stop()
AbstractDriver::stop in vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php
Stop the event loop.
TracingDriver::stop in vendor/revolt/event-loop/src/EventLoop/Driver/TracingDriver.php
Stop the event loop.

File

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

Class

Driver
The driver MUST run in its own fiber and execute callbacks in a separate fiber. If fibers are reused, the driver needs to call {

Namespace

Revolt\EventLoop

Code

public function stop() : void;

API Navigation

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