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

Breadcrumb

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

function TracerProvider::shutdown

Returns `false` is the provider is already shutdown, otherwise `true`.

Overrides TracerProviderInterface::shutdown

File

vendor/open-telemetry/sdk/Trace/TracerProvider.php, line 92

Class

TracerProvider

Namespace

OpenTelemetry\SDK\Trace

Code

public function shutdown(?CancellationInterface $cancellation = null) : bool {
    if ($this->tracerSharedState
        ->hasShutdown()) {
        return true;
    }
    return $this->tracerSharedState
        ->shutdown($cancellation);
}

API Navigation

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