Sha256: b3ced09a36918e6e1dd50d4a749f6eeb994a84bb36b1db3b100c64f701d11f9b
Contents?: true
Size: 694 Bytes
Versions: 4
Compression:
Stored size: 694 Bytes
Contents
# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry class Context module Propagation # The default setter module provides a common method for writing # a key into a carrier that implements +[]=+ module DefaultSetter DEFAULT_SETTER = ->(carrier, key, value) { carrier[key] = value } private_constant :DEFAULT_SETTER # Returns a callable that can write a key into a carrier that implements # +[]=+. Useful for inject operations. # # @return [Callable] def default_setter DEFAULT_SETTER end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems