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