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

Breadcrumb

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

function BatchSpanProcessor::shutdown

Overrides SpanProcessorInterface::shutdown

File

vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php, line 182

Class

BatchSpanProcessor

Namespace

OpenTelemetry\SDK\Trace\SpanProcessor

Code

public function shutdown(?CancellationInterface $cancellation = null) : bool {
    if ($this->closed) {
        return false;
    }
    $this->closed = true;
    return $this->flush(__FUNCTION__, $cancellation);
}

API Navigation

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