function Driver::stop
Same name in this branch
- 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\EventLoopCode
public function stop() : void;