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

Breadcrumb

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

interface CancellationInterface

Hierarchy

  • interface \OpenTelemetry\SDK\Common\Future\CancellationInterface

Expanded class hierarchy of CancellationInterface

All classes that implement CancellationInterface

29 files declare their use of CancellationInterface
BatchLogRecordProcessor.php in vendor/open-telemetry/sdk/Logs/Processor/BatchLogRecordProcessor.php
BatchSpanProcessor.php in vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php
ConsoleExporter.php in vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporter.php
ConsoleSpanExporter.php in vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporter.php
InMemoryExporter.php in vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporter.php

... See full list

File

vendor/open-telemetry/sdk/Common/Future/CancellationInterface.php, line 10

Namespace

OpenTelemetry\SDK\Common\Future
View source
interface CancellationInterface {
    
    /**
     * @param Closure(Throwable): void $callback
     */
    public function subscribe(Closure $callback) : string;
    public function unsubscribe(string $id) : void;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
CancellationInterface::subscribe public function 1
CancellationInterface::unsubscribe public function 1

API Navigation

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