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

Breadcrumb

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

function LateBindingMeter::batchObserve

Overrides MeterInterface::batchObserve

File

vendor/open-telemetry/api/Metrics/LateBindingMeter.php, line 22

Class

LateBindingMeter
@psalm-suppress InvalidArgument

Namespace

OpenTelemetry\API\Metrics

Code

public function batchObserve(callable $callback, AsynchronousInstrument $instrument, AsynchronousInstrument ...$instruments) : ObservableCallbackInterface {
    return ($this->meter ??= ($this->factory)())
        ->batchObserve($callback, $instrument, ...$instruments);
}
RSS feed
Powered by Drupal