Sha256: 07eca92f3547884856a4e45b173400eaff4b4250b7b6dee2708044b2d5f4680d
Contents?: true
Size: 467 Bytes
Versions: 1
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true # Copyright 2019 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry module DistributedContext # An immutable implementation of the DistributedContext that does not contain any entries. class DistributedContext EMPTY_ENTRIES = [].freeze private_constant(:EMPTY_ENTRIES) def entries EMPTY_ENTRIES end def [](_key) nil end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opentelemetry-api-0.2.0 | lib/opentelemetry/distributed_context/distributed_context.rb |