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

Breadcrumb

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

function StreamSelectDriver::handleSignal

1 call to StreamSelectDriver::handleSignal()
StreamSelectDriver::activate in vendor/revolt/event-loop/src/EventLoop/Driver/StreamSelectDriver.php
Activates (enables) all the given callbacks.

File

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

Class

StreamSelectDriver

Namespace

Revolt\EventLoop\Driver

Code

private function handleSignal(int $signal) : void {
    // Queue signals, so we don't suspend inside pcntl_signal_dispatch, which disables signals while it runs
    $this->signalQueue
        ->enqueue($signal);
}

API Navigation

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