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

Breadcrumb

  1. Drupal Core 11.1.x

CancellationInterface.php

Namespace

OpenTelemetry\SDK\Common\Future

File

vendor/open-telemetry/sdk/Common/Future/CancellationInterface.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\SDK\Common\Future;

use Closure;
use Throwable;
interface CancellationInterface {
    
    /**
     * @param Closure(Throwable): void $callback
     */
    public function subscribe(Closure $callback) : string;
    public function unsubscribe(string $id) : void;

}

Interfaces

Title Deprecated Summary
CancellationInterface
RSS feed
Powered by Drupal