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
File
-
vendor/
open-telemetry/ sdk/ Common/ Future/ CancellationInterface.php, line 10
Namespace
OpenTelemetry\SDK\Common\FutureView 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 |