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

Breadcrumb

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

function EventLoop::unreference

Unreference a callback.

The event loop should exit the run method when only unreferenced callbacks are still being monitored. Callbacks are all referenced by default.

Parameters

string $callbackId The callback identifier.:

Return value

string The callback identifier.

File

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

Class

EventLoop
Accessor to allow global access to the event loop.

Namespace

Revolt

Code

public static function unreference(string $callbackId) : string {
    return self::getDriver()->unreference($callbackId);
}

API Navigation

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