Sha256: 377c3375e08cd5ed4e3e1c545d270982fddb71c285ece9f466a1b7b4cdc9a982
Contents?: true
Size: 763 Bytes
Versions: 9
Compression:
Stored size: 763 Bytes
Contents
# frozen_string_literal: true # Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry class Context module Propagation # A no-op extractor implementation class NoopExtractor # Extract a context from the given carrier # # @param [Object] carrier The carrier to extract the context from # @param [Context] context The context to be upated with the extracted # context # @param [optional Callable] getter An optional callable that takes a carrier and a key and # and returns the value associated with the key # @return [Context] def extract(carrier, context, &getter) context end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems