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

Breadcrumb

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

function StreamTransport::shutdown

Overrides TransportInterface::shutdown

File

vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransport.php, line 71

Class

StreamTransport
@internal

Namespace

OpenTelemetry\SDK\Common\Export\Stream

Code

public function shutdown(?CancellationInterface $cancellation = null) : bool {
    if (!$this->stream) {
        return false;
    }
    $flush = @fflush($this->stream);
    $this->stream = null;
    return $flush;
}

API Navigation

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