Sha256: ed14e5267951f3cd3cc5c9de697c492d30ebf050c79fd7d1e6cd5b3f0e8274a6
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
require_relative '../patcher' module Datadog module Tracing module Contrib module ConcurrentRuby # Patcher enables patching of 'Future' class. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch require_relative 'future_patch' patch_future end # Propagate tracing context in Concurrent::Future def patch_future ::Concurrent::Future.include(FuturePatch) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-1.10.1 | lib/datadog/tracing/contrib/concurrent_ruby/patcher.rb |
ddtrace-1.10.0 | lib/datadog/tracing/contrib/concurrent_ruby/patcher.rb |